Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
UIFont.familyNames.sorted().forEach { fontFamily in
print("Family: \(fontFamily)")
UIFont.fontNames(forFamilyName: fontFamily).forEach { fontName in
print("name: \(fontName)")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment