rundfunk47 / stinsen

Coordinators in SwiftUI. Simple, powerful and elegant.
MIT License
907 stars 95 forks source link

Enum cases with associated values cannot be marked potentially unavailable with '@available' #37

Closed Zuzic closed 2 years ago

Zuzic commented 2 years ago

I have received the following error: "Enum cases with associated values cannot be marked potentially unavailable with '@available'"

I tried to add Stinsen into my framework. Screenshot 2021-10-29 at 14 40 33

Zuzic commented 2 years ago

Not Actual for 2.0.3

rundfunk47 commented 2 years ago

Hi! You're right, this issue is fixed in Stinsen 2.x, it appeared in Swift 5.5. There exists a branch of Stinsen 1.x that fixes this, without-fullscreen-cover. But I recommend you to update to 2.x.