Contents

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