Generic Class

PartialKeyPath

A partially type-erased key path, from a concrete root type to any resulting value type.

Declaration

class PartialKeyPath<Root> : AnyKeyPath

Topics

Instance Methods

func appending<Root>(path: AnyKeyPath) -> PartialKeyPath<Root>?

Returns a new key path created by appending the given key path to this one.

Operator Functions

static func != (PartialKeyPath<Root>, PartialKeyPath<Root>) -> Bool

Returns a Boolean value indicating whether two values are not equal.

Relationships

Inherits From

See Also

Key Paths

class KeyPath

A key path from a specific root type to a specific resulting value type.

class AnyKeyPath

A type-erased key path, from any root type to any resulting value type. NOTE: older runtimes had Swift.AnyKeyPath as the ObjC name. The two must coexist, so it was renamed. The old name must not be used in the new runtime. _TtCs11_AnyKeyPath is the mangled name for Swift._AnyKeyPath.

protocol _AppendKeyPath

An implementation detail of key path expressions; do not use this protocol directly.