Definition at line 83 of file OODeepCopy.m.
◆ 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}
References nil.
The documentation for this category was generated from the following file: