Skip to content

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