
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCISmartPropertyLong
@interface SCISmartPropertyLong : NSObject
Defines a smart property class which can hold long
value.
-
Creates a new instance of
SCISmartPropertyLong
class.Declaration
Objective-C
- (nonnull instancetype)initWithDefaultValue:(long)defaultValue;
Parameters
defaultValue
The default value for property.
-
Gets the current property value.
Declaration
Objective-C
@property (nonatomic, readonly) long value;
-
Sets weak value for this property if it was not overridden by
-setStrongValue:
call.Declaration
Objective-C
- (void)setWeakValue:(long)newValue;
Parameters
newValue
The new value for property.
-
Sets weak value for this property which overrides any previously set value.
Declaration
Objective-C
- (void)setStrongValue:(long)newValue;
Parameters
newValue
The new value for property.