Skip to content

Instantly share code, notes, and snippets.

@peterprokop
Last active January 27, 2017 13:47
Show Gist options
  • Save peterprokop/53e13436926ea1ab4cade2c812bede27 to your computer and use it in GitHub Desktop.
Save peterprokop/53e13436926ea1ab4cade2c812bede27 to your computer and use it in GitHub Desktop.
for family in UIFont.familyNames {
print("\(family)")
for name in UIFont.fontNames(forFamilyName: family) {
print(" - \(name)")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment