NSIndexPath class represents the path to a specific node in a tree of nested array collections. This path is known as an index path.
- iOS 2.0+
- macOS 10.4+
- tvOS 9.0+
- watchOS 2.0+
Each index in an index path represents the index into an array of children from one node in the tree to another, deeper, node. For example, the index path
126.96.36.199 specifies the path shown in Figure 1.