Post

Replies

Boosts

Views

Activity

Comment on So... AnimatableModifier is now deprecated, but how to "use Animatable directly"?
Sorry, I think I made the mistake of accepting your solution. After a second thought and test, it seems that in your solution, the animation works only because you removed the .animation(nil) and the default modifier .offset() fires the animation under the hood. One testiment is that print("animating \(value)") is not executed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22