-
-
Save zackshapiro/89298e4374d63e6c5cf3 to your computer and use it in GitHub Desktop.
Print font family and font names
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() { | |
print("family: \(family)") | |
for name in UIFont.fontNamesForFamilyName(family) { | |
print("name: \(name)") | |
} | |
print("") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment