Swift - search strings in TextView and make them bold : <p>I have an <code>UITextField</code> with long text inside, I need to find all the occurrences of a string inside the text and make them bold.
I know I should use <code>NSMutableAttributedString</code> for making the text bold, but how can I search specific substring inside the text?</p>
