Change the background color of a substring of a drawn NSString?
<p>I am using the ABTableViewCell subclass by Atebits to optimize scrolling for rather large potential data sources depending on what my search returns. (Either way though, I'd highly recommend the subclass for even the simplest tableviews, they scroll like butter!)</p>

<p>I have an NSString drawn in a view:</p>

<pre><code>[nameLabel drawInRect:nameRect withFont:nameLabelFont lineBreakMode:UILineBreakModeWordWrap];
</code></pre>

<p>I thought it would be a cool feature that the searched word (which is "Name CONTAINS searchText") be highlighted. Is this as simple as changing the background color behind a substring of nameLabel?</p>

<p>EDITS:</p>

<p>NSAttributedString seems to be what I'm looking for, but turns out it doesn't exist for the iPhone.</p>

<p>From further reading, it would seem that HTML and a UIWebView is the way to go for this... but that seems awfully expensive. Is this really the solution?</p>
