Get Updates By E-mail 

Article Written By:
Johann Dowa

Rich Text Label Component With Font Customization Text Link Handling

  •  
  •  
  •  
  •  
  •  

Previously I mentioned a nice component for creating rich text with a number of styles and shadowing, but unfortunately many of the other rich text labels are no longer updated and working properly.

Here’s a very nice implementation of a UILabel with added support for rich text and clickable links called MDHTMLLabel from Matt Donnely.

MDHTMLLabel supports links, font styles, custom kerning and spacing (so you can make sure your alternative fonts look right), coloring, and more.

What’s really nice about RTLabel is that it lets you easily control how links  in the text are handled when links are tapped or held down  using a couple of delegate methods, and that you can customize the appearance of links.

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

MDHTMLLabel

You can find MDHTMLLabel on Github here.

A very nice rich text UILabel component.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments