Contents

init(items:)

Initializes a collision behavior with an array of dynamic items.

Declaration

init(items: [any UIDynamicItem])

Parameters

  • items:

    The dynamic items that you want to participate in the collision behavior.

Return Value

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

See Also

Initializing and managing a collision behavior