Created
March 4, 2018 23:24
-
-
Save StanislavK/c227236b5961d1a4b8273c20bc457608 to your computer and use it in GitHub Desktop.
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
extension UIFont { | |
class func printAllFonts() { | |
UIFont.familyNames().forEach { family in | |
UIFont.fontNamesForFamilyName(family).forEach { font in | |
print(font) | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment