iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCINotifiableSmartProperty
@interface SCINotifiableSmartProperty : SCISmartProperty
Defines a smart property class which can hold any instance and send notifications whenever it’s value changes.
-
Creates a new instance of
SCINotifiableSmartPropertyclass.Declaration
Objective-C
- (nonnull instancetype)initWithListener:(nonnull SCIAction)listener andDefaultValue:(nullable id)defaultValue;Swift
init(listener: @escaping SCIAction, andDefaultValue defaultValue: Any?)Parameters
listenerThe listener change listener for this property.
defaultValueThe default value for property.
View on GitHub