Created
February 18, 2017 12:00
-
-
Save embassem/5f7903db5e767dbd3533e275b4cf14b3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 family: String in UIFont.familyNames() | |
| { | |
| print("\(family)") | |
| for names: String in UIFont.fontNamesForFamilyName(family) | |
| { | |
| print("== \(names)") | |
| } | |
| } | |
| 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