Contents

sectionIdentifier(containingItem:)

Returns the identifier of the section containing the specified item in the snapshot.

Declaration

func sectionIdentifier(containingItem identifier: ItemIdentifierType) -> SectionIdentifierType?

Parameters

  • identifier:

    The identifier of the item contained in the section of the snapshot.

Return Value

The identifier of the section containing the specified item, or nil if the specified item doesn’t exist in any section of the snapshot.

See Also

Identifying items and sections