Type Method

indexPathWithIndexes:length:

Creates an index path with one or more nodes.

Declaration

+ (instancetype)indexPathWithIndexes:(const NSUInteger *)indexes length:(NSUInteger)length;

Parameters

indexes

Array of indexes to make up the index path.

length

Number of nodes to include in the index path.

Return Value

Index path with indexes up to length.

See Also

Creating and Initializing Index Paths

+ indexPathWithIndex:

Creates a one-node index path.

- initWithIndex:

Initializes an index path with a single node.

- initWithIndexes:length:

Initializes an index path with the given nodes and length.