So how do we use Animatable
in Swift 6 mode?
Main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement
[#]iOSdev #SwiftLang #SwiftUI
=> More informations about this toot | More toots from kayleesdevlog@mas.to
If I make the Animatable
View
also conform to _RemoveGlobalActorIsolation
, the warning goes away. This is what Shape
does, but it's obviously a private API.
[#]iOSdev #SwiftLang #SwiftUI
=> More informations about this toot | More toots from kayleesdevlog@mas.to
text/gemini
This content has been proxied by September (3851b).