index(ofSectionIdentifier:)
Returns the index of the section of the snapshot with the specified identifier.
Declaration
func index(ofSectionIdentifier sectionIdentifier: Any) -> IntParameters
- sectionIdentifier:
The identifier of the section of the snapshot.
Return Value
The index of the section of the snapshot, or NSNotFound if the section with the specified identifier doesn’t exist in the snapshot. This index value is 0-based.