made removeObject on _CPKVCArray work properly

This commit is contained in:
Klaas Pieter Annema
2010-05-26 16:45:55 +02:00
parent 51c90223fc
commit bc0fa6a62e
+5
View File
@@ -211,6 +211,11 @@
[self _setRepresentedObject:target];
}
- (void)removeObject:(id)anObject
{
[self removeObject:anObject inRange:CPMakeRange(0, [self count])];
}
- (void)removeLastObject
{
if(_remove)