Created
May 22, 2015 13:04
-
-
Save MaximAlien/5d7838849d93733d5749 to your computer and use it in GitHub Desktop.
[iOS] Get all font names
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