This is just a small feature I implemented into a recent project but could be very useful. It will highlight instances of a string within a NSMutableAttributedString.
For example - a we could highlight each instance of "we" in "We all went to the beach on Wednesday". In practice I added this to a search suggestion field to show where the matches were taking place.