Skip to content

Instantly share code, notes, and snippets.

@jonswaff
Created July 31, 2014 15:14
Print all fonts available in XCode project. Handy for double-checking names of custom-added fonts
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