Type Alias

IndexPath.Index

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

Declaration

typealias IndexPath.Index = Array<Int>.Index

See Also

Manipulating Indexes

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.

typealias IndexPath.Indices

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