Skip to content
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

Support Apple system fonts #115

Closed
mac-cain13 opened this issue Dec 1, 2015 · 1 comment
Closed

Support Apple system fonts #115

mac-cain13 opened this issue Dec 1, 2015 · 1 comment

Comments

@mac-cain13
Copy link
Owner

mac-cain13 commented Dec 1, 2015

Request from @sdevos:

Could we support system fonts, including correct availability. We could use something like https://github.com/mcritz/iosfonts/blob/master/data/iosfonts.json as the source of what fonts are available and then generate corresponding functions in the font struct with availability annotations.

@mac-cain13
Copy link
Owner Author

Just found out about https://github.com/Nirma/UIFontComplete. This seems like a good implementation of this feature.

R.swift should be more about your own resources then the Apple standard resources imo. So I'll add a reference to this library instead of building it into R.swift.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant