Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Objective-C
Posted by: Dmitriy Prilipko
Added: Aug 3, 2018 9:28 AM
Views: 8
Tags: font ios objc
  1. for (NSString *familyName in [UIFont familyNames]){
  2.     NSLog(@"Family name: %@", familyName);
  3.     for (NSString *fontName in [UIFont fontNamesForFamilyName:familyName]) {
  4.         NSLog(@"--Font name: %@", fontName);
  5.     }
  6. }