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!)
I have an NSString drawn in a view:
[nameLabel drawInRect:nameRect withFont:nameLabelFont lineBreakMode:UILineBreakModeWordWrap];
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?
EDITS:
NSAttributedString seems to be what I'm looking for, but turns out it doesn't exist for the iPhone.
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?