mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 15:02:40 +00:00
Monotone-Parent: 69c9141518bd7929013517efa91e7a4d18ce64d5
Monotone-Revision: 240c1be6b26b2d277b63045d20ee3e4860aba1f8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-02-08T16:30:07 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
f4282ed1bc
commit
2ab0c85485
2 files changed
+19
No files matched your search
@@ -31,6 +31,12 @@
|
||||
|
||||
- (NSArray *) stringsWithFormat: (NSString *) format;
|
||||
|
||||
#ifdef GNUSTEP_BASE_LIBRARY
|
||||
- (void) makeObjectsPerform: (SEL) selector
|
||||
withObject: (id) object1
|
||||
withObject: (id) object2;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
#endif /* NSARRAY_UTILITIES_H */
|
||||
@@ -45,4 +45,17 @@
|
||||
return formattedStrings;
|
||||
}
|
||||
|
||||
- (void) makeObjectsPerform: (SEL) selector
|
||||
withObject: (id) object1
|
||||
withObject: (id) object2
|
||||
{
|
||||
int count, max;
|
||||
|
||||
max = [self count];
|
||||
for (count = 0; count < max; count++)
|
||||
[[self objectAtIndex: count] performSelector: selector
|
||||
withObject: object1
|
||||
withObject: object2];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user