ftp.nice.ch/peanuts/GeneralData/Documents/openstep/OpenStepSpec_rtf.tar.gz#/OpenStepSpec_rtf/FoundationKit/Protocols/NSMutableCopying.rtf

This is NSMutableCopying.rtf in view mode; [Download] [Up]

paperh18648 margl-907 margr0 margt0 margb0 fi0 ri0 ql sb0 f1 fs24 Copyright f3 'e3f1 1994 by NeXT Computer, Inc.  All Rights Reserved.

s8 li100 fi0 ri1007 ql f0 b fs36 fs100 
fs36 NSMutableCopying 
pard s0 li2872 tx2872 f1 b0 fs28 fs48 
fs28 f0 b fs24 Adopted By:tab b0 fs28 f1 various OpenStep classes
fs20 
fs28 s13 fi-2771 ri1007 ql f0 b fs24 Declared In:tab b0 fs28 f1 Foundation/NSObject.h 
fs20 
fs28 pard s35 li100 fi0 ri1007 ql f0 b fs28 fs20 
fs28 Protocol Description
fs14 
fs28 pard s2 li477 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 b0 fs2 
fs28 A class that defines an 'aaimmutable vs. mutable'ba distinction adopts this protocol to allow mutable copies of its instances to be made. A mutable copy of an object is usually a i shallow copyi0  (as opposed to the i deep copyi0  defined in the NSCopying protocol specification). The original and its copy share references to the same instance variables, so that if a component of the copy is changed, for example, that change is reflected in the original.
fs16 
fs28 A class that doesn'27t define an 'aaimmutable vs. mutable'ba distinction but that needs to offer both deep and shallow copying shouldn'27t adopt this protocol. The NSCopying methods should by default be assumed to produce deep copies; the class can then also implement methods to produce shallow copies.
fs16 
fs28 Contrary to most methods, the returned value is owned by the caller, who is responsible for releasing it.
fs16 
fs28 pard s35 li100 fi0 ri1007 ql f0 b fs24 
fs28 Making Mutable Copies of Objects
fs14 
fs28 pard s14 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 
fs28 fi-6552 {f3 -} (id)b mutableCopyWithZone:b0 (NSZone *)i zonei0 tab Returns a new instance that'27s a top level, mutable copy of the receiver. For a collection, objects in the collection are retained. Memory for the new instance is allocated from i zonei0 . The returned object is owned by the caller, who is responsible for releasing it.
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.