Created
July 31, 2014 15:14
-
-
Save jonswaff/d1f9c36a6a8ab319d04d to your computer and use it in GitHub Desktop.
Print all fonts available in XCode project. Handy for double-checking names of custom-added 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
for family in UIFont.familyNames() { | |
println(family) | |
for fname in UIFont.fontNamesForFamilyName(family as String) { | |
println(" " + (fname as String)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment