Generic Initializer


Creates an index path from a sequence of integers.


init<ElementSequence>(indexes: ElementSequence) where ElementSequence : Sequence, ElementSequence.Element == IndexPath.Element

See Also

Creating Index Paths


Creates an empty index path.

init(index: IndexPath.Element)

Creates an index path with a single element.

init(arrayLiteral: IndexPath.Element...)

Creates an index path from an array literal.

init(indexes: Array<IndexPath.Element>)

Creates an index path from an array of elements.

typealias IndexPath.Element

A type that represents one node of an index path.