Created
October 6, 2016 21:10
-
-
Save khanlou/6c0997ff781d8110703105948161872d to your computer and use it in GitHub Desktop.
Print all fonts in Swift 3
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({ familyName in | |
let fontNames = UIFont.fontNames(forFamilyName: familyName) | |
print(familyName, fontNames) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same thing with fixed formatting