Contents

level(of:)

Finds the hierarchical level of the specified item in the section snapshot.

Declaration

func level(of item: ItemIdentifierType) -> Int

Discussion

A level of 0 means the item is at the root level of the section snapshot.

See Also

Getting item metrics