While implementing some custom table view sections I was in need of some custom padding on a UILabel object. There is no UIEdgeInset property on UILabel which would seem rather intuitive but Apple doesnt provide it.

A quick search and I of course stumbled on a great UILabel subclass from Marco Arment of Instapaper and The Magazine.

Check it out the gist on Github.

comments powered by Disqus