Chris Hannah

Journal: 17 Jan 2019 #

Nothing that impressive to write about today. It was a busy day at work, and afterwards I mainly played games and watched TV.

But I came into a problem at work today, where I couldn’t add any padding easily to a UILabel in an app. So I wrote a small subclass that adds an insets variable, and made sure it still worked with AutoLayout. You can find that here on the blog, or the code directly on GitHub.

Have something to say? Send me an email, or find me on Twitter.

Found this post useful? Why not buy me a coffee?