iPhone colorize UILabel substrings

Posted by Janosch R on Stack Overflow See other posts from Stack Overflow or by Janosch R
Published on 2010-05-16T20:17:12Z Indexed on 2010/05/16 20:20 UTC
Read the original article Hit count: 373

Filed under:
|
|
|
|

Hey,

I’m parsing a twitter rss feed, and I just need to show tweets, so I don't need MGTwitterEngine. I have already set it up so I can see the complete tweet, the only thing I want it to colorize hashtags and urls.

So I would need to slice up the string in different substrings, colorize the hashtags and urls and glue it together in various UILabels

Is there an easier way to accomplish this? In short I need some parts of a string colored differently than others.

© Stack Overflow or respective owner

Related posts about uilabel

Related posts about iphone