UIFonts all

Send Snippet To: Save this snippet to Code Collector Pro -- view all scarlet's snippets
language: Objective-C
license: Other

Code for Snippet:

                
    for (NSString *familyName in [UIFont familyNames]) {
        NSLog(@"-- %@ --\n", [familyName description]);
        for (NSString *fontName in [UIFont fontNamesForFamilyName:familyName]) {
            NSLog(@"%@\n",fontName);
        }
    }
comments powered by Disqus

Info

Link to this snippet:


Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 12
Date Added: 2017-07-30 03:51:27
Last Modified: 2017-09-23 17:50:08

Web Analytics