Skip to content

Structure

IndexPath

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
A list of indexes that together represent the path to a specific location in a tree of nested arrays.
struct IndexPath

Overview

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

Topics

Operators

Initializers

Instance Properties

Instance Methods

Subscripts

Type Aliases

Default Implementations

Relationships

Conforms To

  • Foundation.ReferenceConvertible
  • Swift.BidirectionalCollection
  • Swift.Collection
  • Swift.Comparable
  • Swift.Copyable
  • Swift.CustomDebugStringConvertible
  • Swift.CustomReflectable
  • Swift.CustomStringConvertible
  • Swift.Decodable
  • Swift.Encodable
  • Swift.Equatable
  • Swift.Escapable
  • Swift.ExpressibleByArrayLiteral
  • Swift.Hashable
  • Swift.MutableCollection
  • Swift.RandomAccessCollection
  • Swift.Sendable
  • Swift.SendableMetatype
  • Swift.Sequence