Instance Property

items

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

Declaration

@property(nonatomic, readonly, copy) NSArray<id<UIDynamicItem>> *items;

See Also

Initializing and Managing a Collision Behavior

- addItem:

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

- initWithItems:

Initializes a collision behavior with an array of dynamic items.

- removeItem:

Removes a specific dynamic item from the collision behavior.