Richer text for UILabels

Richer text for UILabels

Swift

This post is silly simple, but in the past, I remember doing things like this using Ranges. ¬†You have a 2-line UILabel and you want a bold font for the first line, and then regular for the second. In Swift, this is quite simple and straight-forward. This is all the code you’d need to pull it off easily.

 

Leave a Reply

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

Time limit is exhausted. Please reload CAPTCHA.