YMMCustomBoolAttribute protocol

The protocol defines methods for updating the value of a boolean attribute.

Instance methods

-withValue:

Updates the attribute value.

-withValueIfUndefined:

Updates the attribute with the specified value only if the attribute value is undefined.

-withValueReset

Resets the attribute value.

Method descriptions

-withValue:

- (YMMUserProfileUpdate *)withValue:(BOOL)value

Updates the attribute value.

Parameters:
valueAttribute value: YES or NO

Returns:

The instance of the YMMUserProfileUpdate class.

-withValueIfUndefined:

- (YMMUserProfileUpdate *)withValueIfUndefined:(BOOL)value

Updates the attribute with the specified value only if the attribute value is undefined.

Parameters:
valueAttribute value: YES or NO

Returns:

The instance of the YMMUserProfileUpdate class.

-withValueReset

- (YMMUserProfileUpdate *)withValueReset

Resets the attribute value.

Returns:

The instance of the YMMUserProfileUpdate class.