Last active
March 13, 2019 04:14
-
-
Save marinofelipe/b065cbc959c59470e7d75ddfcf12aec0 to your computer and use it in GitHub Desktop.
Blog post / Dynamic Type - Setting a custom scalable font with max size to a label
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
label.font = UIFont.jurassicPark.regular.sized(40.0).scaled(forTextStyle: .body, maxSize: 80.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment