Skip to content

Instantly share code, notes, and snippets.

@tapsandswipes
Created July 6, 2016 08:12
Show Gist options
  • Save tapsandswipes/1fe160434a045d0f114188a5932b7e3c to your computer and use it in GitHub Desktop.
Save tapsandswipes/1fe160434a045d0f114188a5932b7e3c to your computer and use it in GitHub Desktop.
Print names of all installed fonts in a iOS device
UIFont.familyNames().forEach {
print("\($0)")
UIFont.fontNamesForFamilyName($0).forEach {
print("== \($0)")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment