Last active
August 29, 2015 14:01
-
-
Save Kirow/117417d1bb877d3a5030 to your computer and use it in GitHub Desktop.
Enumerate Fonts available in the application
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 (NSString* family in [UIFont familyNames]) { | |
NSLog(@"%@", family); | |
for (NSString* name in [UIFont fontNamesForFamilyName: family]) { | |
NSLog(@" %@", name); | |
} | |
} | |
//====================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment