Created
June 2, 2020 20:18
-
-
Save nishabe/ee3e7cbca78b19a2254fe05f00f84bda to your computer and use it in GitHub Desktop.
Print All Font Families available in the Application
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
for family: String in UIFont.familyNames | |
{ | |
print(family) | |
for names: String in UIFont.fontNames(forFamilyName: family) | |
{ | |
print("== \(names)") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment