Instance Method

transition(_:)

Associates a transition with the view.

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 the view.

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

Applies the given animation to the view when the specified value changes.