Last active
October 6, 2015 13:58
-
-
Save 50percentgrey/3059069dd93d30759e50 to your computer and use it in GitHub Desktop.
Read all Fonts xCode
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
- (void)readAllFontsInProject{ | |
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
e inserir como string o nome completo com extensão de cada uma das fontes.