Simplify removeObjectsAtIndexes:

This commit is contained in:
Gregory John Casamento 2019-06-28 02:54:57 -04:00
parent 80843a9e4b
commit b4f0e75375

View file

@ -1456,15 +1456,8 @@ static SEL remSel;
maxCount: count
inIndexRange: NULL];
if (count > 0)
{
IMP rem = [self methodForSelector: remSel];
while (count--)
{
(*rem)(self, remSel, indexArray[count]);
}
}
[self _removeObjectsFromIndices: indexArray
numIndices: count];
}
- (void) removeObjectsInArray: (NSArray *)otherArray