Contents

indexPath(for:)

Returns the index path for the specified item.

Declaration

func indexPath(for item: any CPListTemplateItem) -> IndexPath?

Parameters

  • item:

    The item to find in the list.

Return Value

The item’s index path in the list, or nil if the list doesn’t contain the item.

See Also

Getting Supplementary Information