Contents

index(atPosition:)

Provides the value at a particular node in the index path.

Declaration

func index(atPosition position: Int) -> Int

Parameters

  • position:

    Index value of the desired node. Node numbering starts at zero.

Return Value

The index value at node or NSNotFound if the node is outside the range of the index path.

See Also

Working with Indexes