Creating a Repeating Animation in SwiftUI

Stephen Feuerstein Tutorials

SwiftUI is so amazing because of how much it takes care of for you. When you update the state your view updates automatically. Throw a call to withAnimation in there and it will even animate the changes! But what if you want an animation that repeats? Creating the Animation First thing we need to do is set up our View …