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

Update UIFont weight #156

Closed

Conversation

MamdouhRElNakeeb
Copy link

No description provided.

@rechsteiner
Copy link
Owner

Hi @MamdouhRElNakeeb! This change doesn't compile when using with Swift 4. Could you provide some motivation behind this change? Are you seeing any issues with using UIFont.Weight.medium on older versions of iOS?

@rechsteiner
Copy link
Owner

@MamdouhRElNakeeb could you provide some more details on this?

@MamdouhRElNakeeb
Copy link
Author

Sorry for confusing
In Swift 4.0: UIFont.Weight.medium
In Swift 3.2: UIFontWeightMedium

@rechsteiner
Copy link
Owner

Parchment is only supporting the latest version of Swift. The change you are suggesting won't compile when using Swift 4. If you want to use Parchment with Swift 3.2 you have to use an older version.

@rechsteiner
Copy link
Owner

@MamdouhRElNakeeb @bizibizi fixed in #190 now 🙂

@rechsteiner rechsteiner closed this May 1, 2018
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

Successfully merging this pull request may close these issues.

2 participants