NSTableView delete multiple selected rows
NSTableView delete multiple selected rows
- Subject: NSTableView delete multiple selected rows
- From: Enigmarelle Development <email@hidden>
- Date: Sat, 15 Dec 2001 01:39:47 -0500
Does anybody have sample code for deleting multiple rows in a table view?
I can't use [NSMutableArray removeObjectsInArray] because the list may
contain duplicates, which I need to keep; removeObjectsInArray gets rid of
them all. I only want to delete the actual selected row indexes.
There's - (void)removeObjectsFromIndices:(unsigned *)indices
numIndices:(unsigned)count which looks like just what I need, but where
can I get that pointer from?
-john c. warner
enigmarelle development
http://www.enigmarelle.com/