I got tired of browsing the web for a solution to stylized UILabels and decided to take matters into my own hands. For the record, Three20 is pretty robust but I didn't want to import his entire project just for one control, on top of the fact that it wasn't compiling under 2.2.1. So I created my own solution. Which is great because it's lightweight for what I want done. This isn't a perfect solution to the problem, but it's pretty damn near good enough.
Markup on the text looks like this, "
<color ="0000FF">Blue</color> <
bold>
Bold<
/bold>
and <
italic>
Italic<
/italic>
!"
The markup is simple and descriptive. Feel free to modify my code.
It's also fast. 100 cells in a iTouch was very smooth.
XCode Project
No comments:
Post a Comment