Instance Method


Removes all of the dynamic behaviors from a dynamic animator.


func removeAllBehaviors()

See Also

Initializing and Managing a Dynamic Animator

init(referenceView: UIView)

Initializes a dynamic animator with a specified view as its reference view.

init(collectionViewLayout: UICollectionViewLayout)

Initializes a dynamic animator with a specified collection view layout.

func items(in: CGRect) -> [UIDynamicItem]

Returns the dynamic items, from the animator’s behaviors, that intersect a specified rectangle.

func addBehavior(UIDynamicBehavior)

Adds a dynamic behavior to a dynamic animator.

func removeBehavior(UIDynamicBehavior)

Removes a specified dynamic behavior from a dynamic animator.