Created
March 1, 2017 02:36
-
-
Save enomoto/a75214ff4f14205c6a0f37a9ee7b1f2a to your computer and use it in GitHub Desktop.
find font names for iOS
This file contains 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
import UIKit | |
for fn in UIFont.familyNames { | |
for font in UIFont.fontNames(forFamilyName: fn) { | |
print("font: \(font)") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment