Type Method

indexPathWithIndex:

Creates a one-node index path.

Declaration

+ (instancetype)indexPathWithIndex:(NSUInteger)index;

Parameters

index

Index of the item in node 0 to point to.

Return Value

One-node index path with index.

See Also

Creating and Initializing Index Paths

+ indexPathWithIndexes:length:

Creates an index path with one or more nodes.

- initWithIndex:

Initializes an index path with a single node.

- initWithIndexes:length:

Initializes an index path with the given nodes and length.