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

Fix cornerCurve property availability compilation fail #548

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

asiliuk
Copy link
Contributor

@asiliuk asiliuk commented Jun 11, 2022

With Xcode 14 Beta 1 library fails to compile with following error

Stored properties cannot be marked potentially unavailable with `@available`

Screenshot of compilation error on cornerCurve line

Because CALayerCornerCurve is not marked with any @available annotation it is possible to declare private optional storage of it.
With this change everything compiles.

@scenee
Copy link
Owner

scenee commented Jun 13, 2022

That makes sense! I didn't know this behavior of @avaialble. I appreciate this PR ☺️

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