ReadableProperty

open class ReadableProperty<T> : ReadablePropertyType

A concrete property that is readable and observable.

  • Declaration

    Swift

    public typealias Value = T
  • Declaration

    Swift

    public let signal: Signal<T>
  • Declaration

    Swift

    public var value: T { get }
  • Initializes the property from the given Signal and a function that is used to suppress redundant changes.

    Declaration

    Swift

    public init(signal: Signal<T>, changing: @escaping (T, T) -> Bool)