Instance Property


Returns the set of dynamic items you’ve added to the collision behavior.


var items: [UIDynamicItem] { get }

See Also

Initializing and Managing a Collision Behavior

func addItem(UIDynamicItem)

Adds a dynamic item to the collision behavior’s item array.

init(items: [UIDynamicItem])

Initializes a collision behavior with an array of dynamic items.

func removeItem(UIDynamicItem)

Removes a specific dynamic item from the collision behavior.