Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nicokoelewijn/16b7a753b6baa9847547 to your computer and use it in GitHub Desktop.
Save nicokoelewijn/16b7a753b6baa9847547 to your computer and use it in GitHub Desktop.
func enumerateFonts(){
for fontFamily in UIFont.familyNames() {
println("Font family name = \(fontFamily as! String)");
for fontName in UIFont.fontNamesForFamilyName(fontFamily as! String) {
println("- Font name = \(fontName)");
}
println("\n");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment