Initializer

init(items:)

Initializes a dynamic item behavior with an array of dynamic items.

Declaration

init(items: [UIDynamicItem])

Parameters

items

The dynamic items that you want to be subject to the dynamic item behavior.

Return Value

The initialized dynamic item behavior, or nil if there was a problem initializing the object.

Discussion

See Also

Initializing and Managing a Dynamic Item Behavior

func addItem(UIDynamicItem)

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

func removeItem(UIDynamicItem)

Removes a specific dynamic item from the dynamic item behavior.

var items: [UIDynamicItem]

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