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