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