Initializes an index path with a single node.
SDKs
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
convenience init(index: Int)
Parameters
index
Index of the item in node 0 to point to.
Return Value
Initialized NSIndex
object representing a one-node index path with index
.