SwiftUI: Animate a Button View scale modifier up then back to its initial state

In the code snippet below the Button when tapped will animate its scaleEffect up then return to its initial value.  DispatchQueue.main.asyncAfter is used to add a small delay after the first animation block. 

Gist

Leave a comment