Created
May 23, 2018 11:42
-
-
Save moveitonover/ce959dc105d3e70b2a49eca08ba12c84 to your computer and use it in GitHub Desktop.
Print all font names in iOS using Swift
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
// Iterate through all font families and print names ✌🏻 | |
UIFont.familyNames.flatMap { UIFont.fontNames(forFamilyName: $0) } | |
.forEach { print("Font: \($0)") } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment