Instance Method

animation(_:)

Attaches an animation to this transition.

Declaration

func animation(_ animation: Animation?) -> AnyTransition