Skip to content

Instantly share code, notes, and snippets.

@marinofelipe
Last active March 13, 2019 04:13
Show Gist options
  • Save marinofelipe/fb7cd916e13ea3657eb1ee797515f142 to your computer and use it in GitHub Desktop.
Save marinofelipe/fb7cd916e13ea3657eb1ee797515f142 to your computer and use it in GitHub Desktop.
Blog post / Dynamic Type - UIFont extension with jurassic park font that adopts CustomFont protocol
extension UIFont {
enum jurassicPark: String, CustomFont {
case
regular = "JurassicPark-Regular",
semibold = "JurassicPark-Semibold",
bold = "JurassicPark-Bold"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment