Instance Property

childBehaviors

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

Declaration

var childBehaviors: [UIDynamicBehavior] { get }

Discussion

Only custom subclasses of the class can have child behaviors.

See Also

Configuring a Dynamic Behavior

var action: (() -> Void)?

The block you want to execute during dynamic animation.

func addChildBehavior(UIDynamicBehavior)

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

func removeChildBehavior(UIDynamicBehavior)

Removes a child dynamic behavior from a custom dynamic behavior.