
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIObservableSmartProperty
@interface SCIObservableSmartProperty : SCISmartProperty
Defines a smart property class which can hold any id
instances and observe it’s value changes.
-
Creates a new instance of
SCIObservableSmartProperty
class.Declaration
Objective-C
- (nonnull instancetype)initWithListener: (nonnull SCIPropertyChangeListener)listener;
Parameters
listener
The listener change listener for this property.
-
Creates a new instance of
SCIObservableSmartProperty
class.Declaration
Objective-C
- (nonnull instancetype)initWithListener: (nonnull SCIPropertyChangeListener)listener andDefaultValue:(nullable id)defaultValue;
Parameters
listener
The listener change listener for this property.
defaultValue
The default value for property.