标签:logs string int family names name color nsarray UI
1 NSArray * array = [UIFont familyNames]; 2 3 for( NSString *familyName in array ){ 4 printf( "Family: %s \n", [familyName UTF8String] ); 5 NSArray *fontNames = [UIFont fontNamesForFamilyName:familyName]; 6 for( NSString *fontName in fontNames ){ 7 printf( "\tFont: %s \n", [fontName UTF8String] ); 8 } 9 }
标签:logs string int family names name color nsarray UI
原文地址:http://www.cnblogs.com/MengXY/p/7217504.html