iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIObservableSmartPropertyLong
@interface SCIObservableSmartPropertyLong : SCISmartPropertyLong
Defines a smart property class which can hold long value and provides listener with old and new value.
-
Creates a new instance of
SCIObservableSmartPropertyLongclass.Declaration
Objective-C
- (nonnull instancetype)initWithListener: (nonnull SCILongPropertyChangeListener)listener;Swift
init(listener: @escaping SCILongPropertyChangeListener)Parameters
listenerThe listener change listener for this property.
-
Creates a new instance of
SCIObservableSmartPropertyLongclass.Declaration
Objective-C
- (nonnull instancetype)initWithListener: (nonnull SCILongPropertyChangeListener)listener andDefaultValue:(long)defaultValue;Swift
init(listener: @escaping SCILongPropertyChangeListener, andDefaultValue defaultValue: Int)Parameters
listenerThe listener change listener for this property.
defaultValueThe default value for property.
View on GitHub