Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
NSEnumerator(OOMakeObjectsPerformSelector) Category Reference

#include <OOFilteringEnumerator.h>

Instance Methods

(void) - makeObjectsPerformSelector:
 
(void) - makeObjectsPerformSelector:withObject:
 

Detailed Description

Definition at line 112 of file OOFilteringEnumerator.h.

Method Documentation

◆ makeObjectsPerformSelector:

- (void) makeObjectsPerformSelector: (SEL) selector

Definition at line 33 of file OOFilteringEnumerator.m.

234 :(SEL)selector
235{
236 id object = nil;
237 while ((object = [self nextObject]))
238 {
239 if (selector != NULL && [object respondsToSelector:selector])
240 {
241 [object performSelector:selector];
242 }
243 }
244}
return nil

◆ makeObjectsPerformSelector:withObject:

- (void) makeObjectsPerformSelector: (SEL) selector
withObject: (id) argument 

Definition at line 33 of file OOFilteringEnumerator.m.

247 :(SEL)selector withObject:(id)argument
248{
249 id object = nil;
250 while ((object = [self nextObject]))
251 {
252 if (selector != NULL && [object respondsToSelector:selector])
253 {
254 [object performSelector:selector withObject:argument];
255 }
256 }
257}

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