Whenever a SwiftUI animation is triggered, its state is updated immediately regardless of the duration. The Animation struct does not provide us with any sort of callback to indicate whether it has completed. So how can we detect when our views have stopped animating?
Welcome to Swift You and I an exploration into SwiftUI and related frameworks within the Apple development ecosystem.
And don’t forget to checkout our App!