Type Method 型メソッド

copyWithZone:

Returns the receiver. レシーバを返します。

Declaration 宣言

+ (id)copyWithZone:(struct _NSZone *)zone;

Parameters パラメータ

zone

This argument is ignored.

Return Value 戻り値

The receiver. レシーバ。

Discussion 解説

This method exists so class objects can be used in situations where you need an object that conforms to the NSCopying protocol. For example, this method lets you use a class object as a key to an NSDictionary object. You should not override this method.

See Also 参照

Creating, Copying, and Deallocating Objects オブジェクトの作成、複製、そして割り当て解除