A key path that supports reading from and writing to the resulting value with reference semantics.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
class ReferenceWritableKeyPath<Root, Value> : WritableKeyPath <Root, Value>
A key path that supports reading from and writing to the resulting value with reference semantics.
SDK
Framework
class ReferenceWritableKeyPath<Root, Value> : WritableKeyPath <Root, Value>
func appending<Root, AppendedRoot, AppendedValue>( path: KeyPath<AppendedRoot, AppendedValue>) -> KeyPath<Root, 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>) -> ReferenceWritableKeyPath<Root, AppendedValue>
Returns a new key path created by appending the given key path to this one.
func appending<Root, AppendedRoot, AppendedValue>( path: ReferenceWritableKeyPath<AppendedRoot, AppendedValue>) -> ReferenceWritableKeyPath<Root, AppendedValue>?
Returns a new key path created by appending the given key path to this one.
func appending<Root>(path: AnyKeyPath) -> PartialKeyPath<Root>?
Returns a new key path created by appending the given key path to this one.
func appending<Root, Value, AppendedValue>( path: ReferenceWritableKeyPath<Value, AppendedValue>) -> ReferenceWritableKeyPath<Root, 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>) -> WritableKeyPath<Root, AppendedValue>
Returns a new key path created by appending the given key path to this one.
func appending<Root, Value, AppendedValue>( path: KeyPath<Value, AppendedValue>) -> KeyPath<Root, 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>) -> ReferenceWritableKeyPath<Root, AppendedValue>
Returns a new key path created by appending the given key path to this one.
func appending(path: AnyKeyPath) -> AnyKeyPath?
Returns a new key path created by appending the given key path to this one.
static func != (ReferenceWritableKeyPath<Root, Value>, ReferenceWritableKeyPath<Root, Value>) -> Bool
Returns a Boolean value indicating whether two values are not equal.
class WritableKeyPath
A key path that supports reading from and writing to the resulting value.