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
SCISmartPropertyclass.Declaration
Objective-C
- (nonnull instancetype)initWithDefaultValue:(nullable id)defaultValue;Swift
init(defaultValue: Any?)Parameters
defaultValueThe default value for property.
-
Gets the current property value.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) id value;Swift
var value: Any? { get } -
Sets weak value for this property if it was not overridden by
-setStrongValue:call.Declaration
Objective-C
- (void)setWeakValue:(nullable id)newValue;Swift
func setWeakValue(_ newValue: Any?)Parameters
newValueThe new value for property.
-
Sets weak value for this property which overrides any previously set value.
Declaration
Objective-C
- (void)setStrongValue:(nullable id)newValue;Swift
func setStrongValue(_ newValue: Any?)Parameters
newValueThe new value for property.
View on GitHub