Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
NSValue(OODeepCopy) Category Reference

Instance Methods

(id) - ooDeepCopyWithSharedObjects: [implementation]
 

Detailed Description

Definition at line 90 of file OODeepCopy.m.

Method Documentation

◆ ooDeepCopyWithSharedObjects:

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

Definition at line 31 of file OODeepCopy.m.

92 :(NSMutableSet *)objects
93{
94 id object = [objects member:self];
95 if (object != nil && [object isKindOfClass:[NSValue class]])
96 {
97 return [object retain];
98 }
99 else
100 {
101 object = [self copy];
102 [objects addObject:object];
103 return object;
104 }
105}
return nil

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