Skip to content

Instantly share code, notes, and snippets.

@GoNinja
Last active September 4, 2018 02:04
Show Gist options
  • Save GoNinja/4b1c38cc40e7cc3b96edc7fd09d24dc5 to your computer and use it in GitHub Desktop.
Save GoNinja/4b1c38cc40e7cc3b96edc7fd09d24dc5 to your computer and use it in GitHub Desktop.
for familyName in UIFont.familyNames as [String] {
print("\(familyName)")
for fontName in UIFont.fontNames(forFamilyName: familyName) as [String] {
print("\tFont: \(fontName)")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment