A Simple SwiftUI animation
struct ContentView: View { @State private var animationAmount: CGFloat = 1 var body: some View { Button("Tap Me") { } .padding(40) .background(Color.red) .foregroundColor(Color.white) .clipShape(Circle()) .overlay( Circle() .stroke(Color.red) .scaleEffect(animationAmount) ...