New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want get list of loaded UIFont or UIFontDescriptor. #10
Comments
You're welcome. Sure, I can add a method returns a list of loaded fonts. I'll make a new |
Thank you! |
It makes more sense to just return the font name as I don't have to initialize a new UIFont object with a fake size. A) Is that OK? |
When I ask |
I need to know what the UIFont is provided by system. |
The code looks like this: let loadedFontNames: Set<String>
if loadedFontNames.contain("FONT NAME") {
// Loaded font
}
else {
// System font
} |
ok, cool. I'll return an array of FontNames; |
Thank you😆 |
Try this: #11 If that works for you, I'll pull it in in the next 24 hours. |
@ArtSabintsev |
Great - I'll merge it in after lunch or after work, as I still need to make a couple more changes. |
Thanks. |
This will be done tonight - got a bit sidetracked. |
Alright, it's done. v2.1.0 is available through Github and various package managers (CocoaPods, Carthage, Swift PM). Thanks for the suggestions. |
Hi
Thank you for your great library.
I want get list of loaded UIFont or UIFontDescriptor.
Please, Add property.
The text was updated successfully, but these errors were encountered: