mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 02:40:59 +00:00
Optimise CPArrayController insertObject:atArrangedObjectIndex: by not attempting to arrange the content array. The given index is only meant for the arrangedObjects.
This commit is contained in:
1 parent
0a9c9741e8
commit
5d01ca428c
2 files changed
+7
-2
No files matched your search
@@ -80,6 +80,7 @@
|
||||
[arrayController insertObject:object atArrangedObjectIndex:1];
|
||||
|
||||
[self assert:object equals:[[arrayController arrangedObjects] objectAtIndex:1]];
|
||||
[self assertTrue:[[arrayController content] containsObject:object] message:@"object should be inserted into content"];
|
||||
}
|
||||
|
||||
- (void)testAddObjectUpdatesArrangedObjectsWithoutSortDescriptors
|
||||
|
||||
Reference in new issue
Block a user