• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTableView delete multiple selected rows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/


  • Follow-Ups:
    • Re: NSTableView delete multiple selected rows
      • From: Sam Goldman <email@hidden>
  • Prev by Date: Re: Loading Frameworks
  • Next by Date: Re: NSTableView delete multiple selected rows
  • Previous by thread: registering -persistentDomainForName
  • Next by thread: Re: NSTableView delete multiple selected rows
  • Index(es):
    • Date
    • Thread