AMACustomNumberAttribute 协议
该协议定义了更新数值属性值的方法。
Instance methods
|
更新属性值。 |
|
|
如果属性值之前未设置,则更新该属性值。 |
|
|
重置属性值。 |
Method descriptions
-withValue:
- (AMAUserProfileUpdate *)withValue:(double)value
更新属性值。
参数:
|
|
数值属性的值。 数据类型是 |
返回:
The AMAUserProfileUpdate 类实例。
-withValueIfUndefined:
- (AMAUserProfileUpdate *)withValueIfUndefined:(double)value
如果属性值之前未设置,则更新它。
参数:
|
|
数值属性的值。 数据类型是 |
返回:
The AMAUserProfileUpdate 类实例。
-withValueReset
- (AMAUserProfileUpdate *)withValueReset
重置属性值。
返回:
The AMAUserProfileUpdate 类实例。