Classswift 6.0.1Swift
KeyPath
A key path from a specific root type to a specific resulting value type.
class KeyPath<Root, Value>
The most common way to make an instance of this type is by using a key-path expression like \SomeClass.someProperty
. For more information, see Key-Path Expressions in The Swift Programming Language.
Superclasses
class PartialKeyPath<Root>
A partially type-erased key path, from a concrete root type to any resulting value type.
Citizens in Swift
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.
Show implementation details (1)
Hide implementation details
protocol _AppendKeyPath
An implementation detail of key path expressions; do not use this protocol directly.
Subclasses
class WritableKeyPath<Root, Value>
A key path that supports reading from and writing to the resulting value.