Created
July 6, 2016 08:12
-
-
Save tapsandswipes/1fe160434a045d0f114188a5932b7e3c to your computer and use it in GitHub Desktop.
Print names of all installed fonts in a iOS device
This file contains hidden or 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
UIFont.familyNames().forEach { | |
print("\($0)") | |
UIFont.fontNamesForFamilyName($0).forEach { | |
print("== \($0)") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment