320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
|
*
* It is also called when the retain count reaches zero.
*/
- (void)dealloc;
@end
/**
* \brief A protocol for creation of copies.
*/
@protocol OFCopying
/**
* \return A copy of the object
*/
- (id)copy;
@end
/**
* \brief A protocol for creation of mutable copies.
*
* This protocol is implemented by objects that can be mutable and immutable
* and allows returning a mutable copy.
*/
@protocol OFMutableCopying
/**
* \return A copy of the object
|
|
|
|
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
|
*
* It is also called when the retain count reaches zero.
*/
- (void)dealloc;
@end
/**
* \brief A protocol for the creation of copies.
*/
@protocol OFCopying
/**
* \return A copy of the object
*/
- (id)copy;
@end
/**
* \brief A protocol for the creation of mutable copies.
*
* This protocol is implemented by objects that can be mutable and immutable
* and allows returning a mutable copy.
*/
@protocol OFMutableCopying
/**
* \return A copy of the object
|