diff --git a/Foundation/CPDictionary.j b/Foundation/CPDictionary.j index 5d6293892..2ddd993e8 100755 --- a/Foundation/CPDictionary.j +++ b/Foundation/CPDictionary.j @@ -359,6 +359,17 @@ { dictionary_removeValue(self, aKey); } + +/*! + Removes each entry in allKeys from the receiver. + @param allKeys an array of keys that will be removed from the dictionary +*/ +- (void)removeObjectsForKeys:(CPArray)allKeys +{ + for (var i=0, count = allKeys.length; i