I downloaded Oleo Script from Google and would like to use it in my iOS project.
I've tried copying it into a folder on my main project and then adding it to info.plist via the Fonts provided by application Item 0 entry.
However when I run this code to see the font family name it does not show up in the list. I've also tried various names to add it to my Text view but it did not work.
I've tried copying it into a folder on my main project and then adding it to info.plist via the Fonts provided by application Item 0 entry.
However when I run this code to see the font family name it does not show up in the list. I've also tried various names to add it to my Text view but it did not work.
Code Block func getCustomFontNames() { // get each of the font families for family in UIFont.familyNames.sorted() { let names = UIFont.fontNames(forFamilyName: family) // print array of names print("Family: \(family) Font names: \(names)") } }