Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UILabel with basic rich text support

My ipad application has a custom look. It uses text labels extensively for displaying partly colored/shadowed/bold texts. Larger pieces of text may contain numbered lists and embedded Images. There could be couple rich text regions on a single page.

I am not sure that UIWebView is the right tool for displaying strings like:


MyApp title


Hello rich text world

  1. List item
  2. List item

Writing my own text rendering engine looks more sufficient to me than using UIWebView. Any ideas for lightweight rich text renderer ? c library or custom control ?

like image 914
Chugaister Avatar asked Dec 01 '25 03:12

Chugaister


1 Answers

I would recommend using TTStyledLabel from the Three20 library. It provides the desired functionally and would save you the time of writing your own.

like image 99
Jan Gressmann Avatar answered Dec 03 '25 18:12

Jan Gressmann