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
18.104.22.168 specifies the path shown in Figure 1.