mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-16 07:31:28 +00:00
Add 2 missing methods on CPDictionary.
[#157 state:resolved milestone:0.6.1]
This commit is contained in:
@@ -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<count; i++)
|
||||
dictionary_removeValue(self, allKeys[i]);
|
||||
}
|
||||
|
||||
/*
|
||||
Instance.removeObjectForKey(aKey)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user