Library For A Custom iOS Text Label Supporting Rich Text Using An HTML Style Syntax

Some time ago I mentioned TTTAttributedLabel that provides a nice straightforward library for easily creating text labels with support for rich text.

Here’s another nice library for creating rich text from Hang Chen that provides a number of very useful features such as the ability to easily choose fonts and embed images with support for link tapping events and alignment changes.

Everything is done using an HTML style syntax.

– It’s a small browser render engine for browser, using Core-Text without leverage the UIWebView.
– It has its own smart HTML parser, who can handle all invalid cases, such as unclosed tags and overlapping tags.
– Fully supports image layout as well as text formatted layout.
– Useful callback function for link tapping event and image tapping event.

Here’s an image from the readme showing RichContentLabel in action:RichContentLabel

 

You can find RichContentLabel on Github here.

There’s an example included showing how to create the customized text in the above image.

DeliciousTwitterFacebookRedditLinkedInEmail

Original article: Library For A Custom iOS Text Label Supporting Rich Text Using An HTML Style Syntax

©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *