Created
August 17, 2015 08:07
-
-
Save NicholasTD07/218579d64065db175904 to your computer and use it in GitHub Desktop.
Find all the font in an iOS app
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
for fontFamily in UIFont.familyNames() { | |
println("family: \(fontFamily)") | |
for font in UIFont.fontNamesForFamilyName(fontFamily as! String) { | |
println("font: \(font)") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment