Type Method 型メソッド

mutableCopyWithZone:

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

Declaration 宣言

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

Parameters パラメータ

zone

The memory zone in which to create the copy of the receiver.

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 NSMutableCopying 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 オブジェクトの作成、複製、そして割り当て解除