Post

Replies

Boosts

Views

Activity

Comment on animation(nil) replacement in SwiftUI 3.0 (iOS 15)
Yes I am aware, however I use withAnimation to update views that depend on it but I want some views to not have any animations. I could use animation(_:value:) (like this: animation(nil, value: state) ) however it just seems longer, as I want to disable all animations for the view not just for a specific value. However, looking over the documentation, I don't think there is a modifier that would replace the functionality of animation(nil).
Aug ’21