Ancestors

Toot

Written by Kaylee's Devlog on 2024-08-08 at 18:41

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

Descendants

Written by Kaylee's Devlog on 2024-08-09 at 12:18

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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/112927867802082871
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
264.217034 milliseconds
Gemini-to-HTML Time
0.4615 milliseconds

This content has been proxied by September (3851b).