Oolite 1.91.0.7668-250429-8542c40
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
NSObject(OODeepCopy) Category Reference

#include <OODeepCopy.h>

Instance Methods

(id) - ooDeepCopyWithSharedObjects:
 

Detailed Description

Definition at line 55 of file OODeepCopy.h.

Method Documentation

◆ ooDeepCopyWithSharedObjects:

- (id) ooDeepCopyWithSharedObjects: (NSMutableSet *) OO_RETURNS_RETAINED

Definition at line 51 of file OODeepCopy.m.

51 :(NSMutableSet *)objects
52{
53 if ([self conformsToProtocol:@protocol(NSCopying)])
54 {
55 return [self copy];
56 }
57 else
58 {
59 return [self retain];
60 }
61}

The documentation for this category was generated from the following files: