Attributed strings in UITableViewCells without WebView?

Posted by arnekolja on Stack Overflow See other posts from Stack Overflow or by arnekolja
Published on 2010-03-13T13:51:16Z Indexed on 2010/03/13 13:55 UTC
Read the original article Hit count: 266

Hello,

does anyone know if there's a way in with 3.0+ to display attributed strings within a UITableViewCell without using a UIWebView for that? I need to display a string with linked, tappable substrings as the typical detailTextLabel. I wouldn't mind exchanging this UILabel against another type of view, but I think a UIWebView could be just too slow when rendering a table with hundrets of cells. Or does someone have opposite experiences here?

So my question is: what's the best way to achieve mixed strings in a very large table without a great performance hit?

I searched for this almost a whole day now, but I can only find old posts mentioning that there's no attributed string on the iPhone (outdated, as this was pre-3.0) and/or saying that they use a UIWebView for that. But really, I don't think this would perform very well on large tables, would it?

Many, many thanks in advance

Arne

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about objective-c