Created
March 2, 2013 04:58
-
-
Save pixelrevision/5069770 to your computer and use it in GitHub Desktop.
Print all font family names in ios
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
NSArray *familyNames = [UIFont familyNames]; | |
for(NSString *family in familyNames){ | |
NSLog(@"-%@", family); | |
NSArray *fontNames = [UIFont fontNamesForFamilyName:family]; | |
for(NSString *font in fontNames){ | |
NSLog(@"----%@", font); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment