Instance Method

getIndexes:range:

Copies the indexes stored in the index path from the positions specified by the position range into the specified indexes.

Declaration

- (void)getIndexes:(NSUInteger *)indexes range:(NSRange)positionRange;

Parameters

indexes

Pointer to a C array of at least as many NSUInteger objects as specified by the length of positionRange. On return, the array holds the index path's indexes.

positionRange

A range of valid positions within the index path. If the location plus the length of positionRange is greater than the length of the index path, this method raises an NSRangeException.

Discussion

You must allocate the memory for the C array.

See Also

Working with Indexes

- indexAtPosition:

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

- getIndexes:

Copies the objects contained in the index path into indexes.

Deprecated