• 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
Moving records in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Moving records in NSTableView


  • Subject: Moving records in NSTableView
  • From: "Peter Karlsson" <email@hidden>
  • Date: Fri, 30 May 2003 11:43:30 +0000

Dear list!

I have a NSTableView with a couple of records. I want to move the selected record up or down when I click my 2 buttons. So far I have used this method:

1 - Copy the selected record
2 - Delete the selected record
3 - Insert the copy'ed record at a new index

Are there any simpler way, for example: a built in fuction that moves a record up or down?

Peter

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Unit test tool
  • Next by Date: Carbon : start-up volume name/path as POSIX
  • Previous by thread: Re: Unit test tool
  • Next by thread: Re: Moving records in NSTableView
  • Index(es):
    • Date
    • Thread