Instance Method インスタンスメソッド

isNotEqualTo:

Returns a Boolean value that indicates whether the receiver is not equal to another given object. レシーバが別の与えられたオブジェクトと等しくないかどうかを指し示すブール値を返します。

Declaration 宣言

- (BOOL)isNotEqualTo:(id)object;

Parameters パラメータ

object

The object with which to compare the receiver.

Return Value 戻り値

YES if the receiver is not equal to object, otherwise NO.

Discussion 解説

Currently, isNotEqualTo: messages are never sent to any object from within Cocoa itself.

The default implementation for this method provided by NSObject method returns YES if an isEqual: message sent to the same object would return NO.

See Also 参照

Performing comparisons 比較を実行する