SwiftUI withAnimation completion callback
问题 I have a swiftUI animation based on some state: withAnimation(.linear(duration: 0.1)) { self.someState = newState } Is there any callback which is triggered when the above animation completes? If there are any suggestions on how to accomplish an animation with a completion block in SwiftUI which are not withAnimation , I'm open to those as well. I would like to know when the animation completes so I can do something else, for the purpose of this example, I just want to print to console when