< Zac Siegel >

Thoughts on software architecture, development, tools, and toys


Home | Gear


Padding on a UILabel

November 6, 2012

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.