HIPEventedPropertyBasic

open class HIPEventedPropertyBasic<T>: HIPEventSource, HIPEventSourceWithValue

The basic variety of HIPEventedProperty has no constraints on the type, but performs no duplicate value checks before firing subscribers.

See HIPEventSourceWithValue for more methods.

  • Stored value of the property. Whenever this changes, all subscribers are fired unless their associated objects have been deallocated.

    Declaration

    Swift

    open var value: T
  • Declaration

    Swift

    public init(_ initialValue: T)

    Parameters

    initialValue

    Initial value of the property

    skipDuplicates

    If true (default), subscribers are not fired when value is set if it is not == to the previous value.