
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCISmartProperty
@interface SCISmartProperty : NSObject
Defines a smart property class which can hold any NSObject
instances.
-
Creates a new instance of
SCISmartProperty
class.Declaration
Objective-C
- (nonnull instancetype)initWithDefaultValue:(nullable id)defaultValue;
Parameters
defaultValue
The default value for property.
-
Gets the current property value.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) id value;
-
Sets weak value for this property if it was not overridden by
-setStrongValue:
call.Declaration
Objective-C
- (void)setWeakValue:(nullable id)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:(nullable id)newValue;
Parameters
newValue
The new value for property.