Contents

item(at:)

Returns the item at the specified index.

Declaration

func item(at index: Int) -> any CPListTemplateItem

Parameters

  • index:

    The item’s index in the section.

Discussion

The index must be within the bounds of the items array, otherwise, your app throws an exception.

See Also

Getting Items