item(at:)
Returns the item at the specified index.
Declaration
func item(at index: Int) -> any CPListTemplateItemParameters
- 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.