Created
July 6, 2016 20:20
-
-
Save sashalondon/11470edf11ffec7a09db6ee37659c453 to your computer and use it in GitHub Desktop.
Swift San Fransisco Fonts
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
let font = UIFont.systemFontOfSize(17) | |
let mediumFont = UIFont.systemFontOfSize(17, weight: UIFontWeightMedium) | |
let lightFont = UIFont.systemFontOfSize(17, weight: UIFontWeightLight) | |
let boldFont = UIFont.systemFontOfSize(17, weight: UIFontWeightBold) | |
There is a ton of font weights to choose from: | |
UIFontWeightUltraLight | |
UIFontWeightThin | |
UIFontWeightLight | |
UIFontWeightRegular | |
UIFontWeightMedium | |
UIFontWeightSemibold | |
UIFontWeightBold | |
UIFontWeightHeavy | |
UIFontWeightBlack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment