From bc30541b9ca675dae4b8d733afe1008b1d82dda6 Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Wed, 17 Dec 2008 18:21:29 -0800 Subject: [PATCH] Add 2 missing methods on CPDictionary. [#157 state:resolved milestone:0.6.1] --- Foundation/CPDictionary.j | 11 +++++++++++ 1 file changed, 11 insertions(+) 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