Instance Property

action

The block you want to execute during dynamic animation.

Declaration

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

Discussion

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.