iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIObservableSmartPropertyBool

@interface SCIObservableSmartPropertyBool : SCISmartPropertyBool

Defines a smart property class which can hold boolean value and provides listener with old and new value.

  • Creates a new instance of SCIObservableSmartPropertyBool class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithListener:
        (nonnull SCIBoolPropertyChangeListener)listener;

    Parameters

    listener

    The listener change listener for this property.

  • Creates a new instance of SCIObservableSmartPropertyBool class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithListener:
                                (nonnull SCIBoolPropertyChangeListener)listener
                             andDefaultValue:(BOOL)defaultValue;

    Parameters

    listener

    The listener change listener for this property.

    defaultValue

    The default value for property.