Created
July 14, 2017 14:40
-
-
Save jarretmoses/b80e55f6cf25c7e32dafc05608c6fdc7 to your computer and use it in GitHub Desktop.
Script to place inside AppDelegate.m to print out actual font names in your iOS (and React Native) project
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 *familyName in [UIFont familyNames]){ | |
NSLog(@"Family name: %@", familyName); | |
for (NSString *fontName in [UIFont fontNamesForFamilyName:familyName]) { | |
NSLog(@"--Font name: %@", fontName); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment