Generic Class

KeyPath

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

Topics

Instance Methods

func appending<Root, AppendedRoot, AppendedValue>(path: ReferenceWritableKeyPath<AppendedRoot, AppendedValue>)

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

func appending<Root, Value, AppendedValue>(path: WritableKeyPath<Value, AppendedValue>)

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

func appending<Root, AppendedRoot, AppendedValue>(path: KeyPath<AppendedRoot, AppendedValue>)

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

func appending<Root, Value, AppendedValue>(path: ReferenceWritableKeyPath<Value, AppendedValue>)

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

func appending<Root, Value, AppendedValue>(path: WritableKeyPath<Value, AppendedValue>)

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

func appending(path: AnyKeyPath)

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

func appending<Root, Value, AppendedValue>(path: KeyPath<Value, AppendedValue>)

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

func appending<Root>(path: AnyKeyPath)

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

func appending<Root, Value, AppendedValue>(path: ReferenceWritableKeyPath<Value, AppendedValue>)

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

Operator Functions

static func != (KeyPath<Root, Value>, KeyPath<Root, Value>)

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

Relationships

Inherits From

See Also

Key Paths

class PartialKeyPath

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

class AnyKeyPath

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

protocol _AppendKeyPath

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