IndexPath

IndexPath represents the path to a specific node in a tree of nested array collections.

iOS
8.0+
macOS
10.10+
tvOS
9.0+
watchOS
2.0+
struct IndexPath

Each index in an index path represents the index into an array of children from one node in the tree to another, deeper, node.