Oolite
Loading...
Searching...
No Matches
NSValue(OODeepCopy) Category Reference

Instance Methods

(id) - ooDeepCopyWithSharedObjects: [implementation]

Detailed Description

Definition at line 83 of file OODeepCopy.m.

Method Documentation

◆ ooDeepCopyWithSharedObjects:

- (id) ooDeepCopyWithSharedObjects: (NSMutableSet*) objects
implementation

Definition at line 85 of file OODeepCopy.m.

85 :(NSMutableSet*)objects
86{
87 id object = [objects member:self];
88 if (object != nil && [object isKindOfClass:[NSValue class]]) {
89 return [object retain];
90 } else {
91 object = [self copy];
92 [objects addObject:object];
93 return object;
94 }
95}
return nil

References nil.


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