Created
November 17, 2014 11:27
-
-
Save wtsnz/57f649e096778b35701f to your computer and use it in GitHub Desktop.
Print out font families
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 *fontFamilies = [UIFont familyNames]; | |
for (int i = 0; i < [fontFamilies count]; i++) | |
{ | |
NSString *fontFamily = [fontFamilies objectAtIndex:i]; | |
NSArray *fontNames = [UIFont fontNamesForFamilyName:[fontFamilies objectAtIndex:i]]; | |
NSLog (@"%@: %@", fontFamily, fontNames); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment