
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCINotifiableSmartPropertyBool
@interface SCINotifiableSmartPropertyBool : SCISmartPropertyBool
Defines a smart property class which can hold boolean
value and send notifications whenever it’s value changes.
-
Creates a new instance of
SCINotifiableSmartPropertyBool
class.Declaration
Objective-C
- (nonnull instancetype)initWithListener:(nonnull SCIAction)listener;
Parameters
listener
The listener change listener for this property.
-
Creates a new instance of
SCINotifiableSmartPropertyBool
class.Declaration
Objective-C
- (nonnull instancetype)initWithListener:(nonnull SCIAction)listener andDefaultValue:(BOOL)defaultValue;
Parameters
listener
The listener change listener for this property.
defaultValue
The default value for property.