YMMCustomStringAttribute protocol
The protocol defines methods for updating the value of a string attribute.
Instance methods
-withValue: | Updates the attribute value. |
-withValueIfUndefined: | Updates the attribute value if it wasn't set earlier. |
-withValueReset | Resets the attribute value. |
-withValue: | Updates the attribute value. |
-withValueIfUndefined: | Updates the attribute value if it wasn't set earlier. |
-withValueReset | Resets the attribute value. |
Method descriptions
-withValue:
- (YMMUserProfileUpdate *)withValue:(nullable NSString *)value
Updates the attribute value.
Parameters:
value | Updates the attribute value. |
value | Updates the attribute value. |
Returns:
The YMMUserProfileUpdate
class instance.
-withValueIfUndefined:
- (YMMUserProfileUpdate *)withValueIfUndefined:(nullable NSString *)value
Updates the attribute value if it wasn't set earlier.
Parameters:
value | Attribute value as a string. The maximum value length is 200 characters. |
value | Attribute value as a string. The maximum value length is 200 characters. |
Returns:
The YMMUserProfileUpdate
class instance.
-withValueReset
- (YMMUserProfileUpdate *)withValueReset
Resets the attribute value.
Returns:
The YMMUserProfileUpdate
class instance.