SwiftUI comes with an .animation
modifier that can be applied to any View that conforms to the Animatable
property. This includes all Shape
like Circle
. You can use it by applying the .animation
modifier to any of these views with the default being an ease in/ease out animation.