Created
July 6, 2020 05:32
-
-
Save RustemAqtau/5c34d513db25fc5d76b39c4c25d14df0 to your computer and use it in GitHub Desktop.
UIFont Extension
This file contains hidden or 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
extension UIFont { | |
static func avenir20() -> UIFont? { | |
return UIFont.init(name: "avenir", size: 20) | |
} | |
static func avenir26() -> UIFont? { | |
return UIFont.init(name: "avenir", size: 26) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment