Hi All

I have added +map support to NSDictionary with the following method:
- (NSArray*) mapValues: (id)aClosure;
- (NSArray*) mapKeys: (id)aClosure;
- (void) foreachKeysAndValues: (id)aClosure;
- (void) foreachKeys: (id)aClosure;
- (void) foreachValues: (id)aClosure;

If people founded valuable I can commit them. The wording in ST-80 would have 
been -collect: and -do: (-keysAndValuesDo: ..) but I have stick to the rules 
founded in NSArray+map.h

So let me know.

Thanks
--
Mathieu
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à