Skip to content

Instantly share code, notes, and snippets.

@dewyze
Created January 4, 2015 22:38
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 dewyze/402f7595159f76a2d57d to your computer and use it in GitHub Desktop.
Save dewyze/402f7595159f76a2d57d to your computer and use it in GitHub Desktop.
Get font names in iOS - Swift
for family in UIFont.familyNames() {
let familyString = family as NSString
println(familyString)
for name in UIFont.fontNamesForFamilyName(familyString) {
println(name)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment