Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extension UIFont {
- class var listFontsByFamilyAndNames: [String] {
- return UIFont.familyNames.map { (familyName) in
- UIFont.fontNames(forFamilyName: familyName).joined(separator: ", ")
- }.sorted()
- }
- }
Add Comment
Please, Sign In to add comment