I am looking for a list of iOS Fonts for iOS 7. I have found the list on Apple\'s developer site, I am just wondering if anyone knows of a visual list where each font name
(Original answer in ObjC) You can get a list at run-time:
// available fonts listed in xcode output
for (id familyName in [UIFont familyNames]) {
NSLog(@"%@", familyName);
for (id fontName in [UIFont fontNamesForFamilyName:familyName]) NSLog(@" %@", fontName);
}
(Added: Swift one liner):
UIFont.familyNames.forEach{ print($0); UIFont.fontNames(forFamilyName: $0).forEach{ print(" ", $0) } }
This will spit out:
Thonburi
Thonburi-Bold
Thonburi
Thonburi-Light
Snell Roundhand
SnellRoundhand-Black
SnellRoundhand-Bold
SnellRoundhand
...
I have also made a small app that can be used to browse through all the available fonts. Check it out here.