Skip to content

Instantly share code, notes, and snippets.

@sashalondon
Created July 6, 2016 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sashalondon/11470edf11ffec7a09db6ee37659c453 to your computer and use it in GitHub Desktop.
Save sashalondon/11470edf11ffec7a09db6ee37659c453 to your computer and use it in GitHub Desktop.
Swift San Fransisco Fonts
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