MutableValueProperty

public final class MutableValueProperty<T> : ReadWriteProperty<T>

A concrete read/write property whose value can be mutated directly.

  • Called to update the underlying value and notify observers that the value has been changed.

    Declaration

    Swift

    public func change(_ newValue: T, transient: Bool = false)
  • Called to update the underlying value and notify observers that the value has been changed.

    Declaration

    Swift

    public func change(_ newValue: T, metadata: ChangeMetadata)