Instance Property


The block you want to execute during dynamic animation.


var action: (() -> Void)? { get set }


The dynamic animator calls the action block on every animation step.

See Also

Configuring a Dynamic Behavior

func addChildBehavior(UIDynamicBehavior)

Adds a dynamic behavior, as a child, to a custom dynamic behavior.

var childBehaviors: [UIDynamicBehavior]

Returns the array of dynamic behaviors that are children of a custom dynamic behavior.

func removeChildBehavior(UIDynamicBehavior)

Removes a child dynamic behavior from a custom dynamic behavior.