KeyPathReferenceWritable

Swift

public protocol KeyPathReferenceWritable

Defines a type that is configurable using reference writeable keypaths.

Example usage:

UILabel() .set(.text, to: “Example”)

  • Undocumented

    Declaration

    Swift

    associatedtype TypeIn
  • Undocumented

    Declaration

    Swift

    associatedtype TypeOut
  • set(_:to:) Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    func set<Value>(_ keyPath: ReferenceWritableKeyPath<TypeIn, Value>, to value: Value) -> TypeOut