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

Custom font type #124

Open
jonathansolorzn opened this issue Oct 4, 2018 · 6 comments
Open

Custom font type #124

jonathansolorzn opened this issue Oct 4, 2018 · 6 comments

Comments

@jonathansolorzn
Copy link

It would be helpful to allow us using IBDesignable to set a custom font type for the text.

@evgenyneu
Copy link
Owner

evgenyneu commented Oct 5, 2018

Thanks for the great suggestion. Is it possible to use a UIFont variable as an IBDesignable?

@Syed-Sahab
Copy link

It Give 3 issues how i should handle this.

*Type 'UIFont' has no member 'TextStyle'
*Type 'NSAttributedString' has no member 'Key'
*Type 'UIAccessibilityTraits' (aka 'UInt64') has no member 'adjustable'

@evgenyneu
Copy link
Owner

@Syed-Sahab, thanks for reporting. Which Xcode and Cosmos versions are you using?

@Syed-Sahab
Copy link

@Syed-Sahab, thanks for reporting. Which Xcode and Cosmos versions are you using?

@evgenyneu Thanks for reply, I am currently using xcode 9.3 & cosmos 'Cosmos', '~> 17.0' versions.

@evgenyneu
Copy link
Owner

@Syed-Sahab, try using version 16 of Cosmos instead, as described here. The latest version 17 has new Swift 4.2 syntax and is meant to be used in Xcode 10.

@Syed-Sahab
Copy link

Syed-Sahab commented Nov 1, 2018 via email

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

No branches or pull requests

3 participants