AMACustomStringAttribute 协议
该协议定义了更新字符串属性值的方法。
Instance methods
|
更新属性值。 |
|
|
如果属性值之前未设置,则更新它。 |
|
|
重置属性值。 |
Method descriptions
-withValue:
- (AMAUserProfileUpdate *)withValue:(nullable NSString *)value
更新属性值。
参数:
|
|
更新属性值。 |
返回:
The AMAUserProfileUpdate 类实例。
-withValueIfUndefined:
- (AMAUserProfileUpdate *)withValueIfUndefined:(nullable NSString *)value
如果属性值之前未设置,则更新它。
参数:
|
|
属性值为字符串。 最大值长度为200个字符。 |
返回:
The AMAUserProfileUpdate 类实例。
-withValueReset
- (AMAUserProfileUpdate *)withValueReset
重置属性值。
返回:
The AMAUserProfileUpdate 类实例。