Instance Method

isEqualTo:

Returns whether one custom parameter value is equal to another.

Required.

Declaration

- (BOOL)isEqualTo:(id<NSCoding>)rightValue;

Parameters

rightValue

The value to the right of the equal sign in the equation (leftValue == rightValue).

Return Value

YES if the two values are equal; otherwise NO.

Discussion

The host application sometimes needs to know whether two custom parameters are equivalent. When it does, it invokes this method on one of the custom parameter objects, passing the other as the rightValue parameter.