Instance Method

transition(_:)

Associates a transition with self.

Declaration

func transition(_ t: AnyTransition) -> some View

See Also

Adding Animations to a View

func animation(Animation?) -> View

Applies the given animation to all animatable values within this view.

func animation<V>(Animation?, value: V) -> View

Applies the given animation to this view, whenever the specified value changes.