Type Alias

IndexPath.Indices

A type that represents a group of nodes in an index path.

Declaration

typealias IndexPath.Indices = DefaultIndices<IndexPath>

See Also

Manipulating Indexes

typealias IndexPath.Index

A type that points to a particular node in an index path, similar to an array index.

var startIndex: IndexPath.Index

The index of the first node in the index path.

var endIndex: IndexPath.Index

One past the index of the last node in the index path.

func index(after: IndexPath.Index) -> IndexPath.Index

Returns the index that follows the given index.

func index(before: IndexPath.Index) -> IndexPath.Index

Returns the index that precedes the given index.