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