level(of:)
Finds the hierarchical level of the specified item in the section snapshot.
Declaration
func level(of item: ItemIdentifierType) -> IntDiscussion
A level of 0 means the item is at the root level of the section snapshot.
Finds the hierarchical level of the specified item in the section snapshot.
func level(of item: ItemIdentifierType) -> IntA level of 0 means the item is at the root level of the section snapshot.