Definition at line 14 of file OOWeakSet.m.
◆ dealloc
Definition at line 17 of file OOWeakSet.m.
297{
298 [_enumerator release];
299
300 [super dealloc];
301}
◆ enumeratorWithCollection:
+ (instancetype) enumeratorWithCollection: |
|
(id) | collection |
|
Definition at line 17 of file OOWeakSet.m.
290 :(id)collection
291{
292 return [[[self alloc] initWithEnumerator:[collection objectEnumerator]] autorelease];
293}
◆ initWithEnumerator:
- (id) initWithEnumerator: |
|
(NSEnumerator *) | enumerator |
|
Definition at line 17 of file OOWeakSet.m.
273 :(NSEnumerator *)enumerator
274{
275 if (enumerator ==
nil)
276 {
277 [self release];
279 }
280
281 if ((self = [super init]))
282 {
284 }
285
286 return self;
287}
NSEnumerator * _enumerator
◆ nextObject
Definition at line 17 of file OOWeakSet.m.
305{
308 {
309 next = [next weakRefUnderlyingObject];
310 if (next !=
nil)
return next;
311 }
312
314}
◆ _enumerator
- (NSEnumerator*) _enumerator |
|
private |
The documentation for this class was generated from the following file: