2020-03-29 17:34:08 +00:00
|
|
|
#ifndef __qwaq_ui_garray_h
|
|
|
|
#define __qwaq_ui_garray_h
|
2020-03-19 02:04:02 +00:00
|
|
|
|
|
|
|
#include <Array.h>
|
|
|
|
|
|
|
|
typedef BOOL condition_func (id object, void *data);
|
|
|
|
typedef BOOL condition_func2 (id object, void *anObject, void *data);
|
|
|
|
|
|
|
|
@interface Array (Group)
|
|
|
|
- (void) makeObjectsPerformSelector: (SEL)selector
|
|
|
|
if: (condition_func)condition
|
|
|
|
with: (void *)data;
|
|
|
|
- (void) makeObjectsPerformSelector: (SEL)selector
|
|
|
|
withObject: (void *)anObject
|
|
|
|
if: (condition_func2)condition
|
|
|
|
with: (void *)data;
|
|
|
|
- (void) makeReversedObjectsPerformSelector: (SEL)selector;
|
|
|
|
- (void) makeReversedObjectsPerformSelector: (SEL)selector
|
|
|
|
withObject: (void *)anObject;
|
|
|
|
- (void) makeReversedObjectsPerformSelector: (SEL)selector
|
|
|
|
if: (condition_func)condition
|
|
|
|
with: (void *)data;
|
|
|
|
- (void) makeReversedObjectsPerformSelector: (SEL)selector
|
|
|
|
withObject: (void *)anObject
|
|
|
|
if: (condition_func2)condition
|
|
|
|
with: (void *)data;
|
|
|
|
@end
|
|
|
|
|
2020-03-29 17:34:08 +00:00
|
|
|
#endif//__qwaq_ui_garray_h
|