• 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
Re: Sorting issues with NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting issues with NSTableView


  • Subject: Re: Sorting issues with NSTableView
  • From: "Patrick M" <email@hidden>
  • Date: Wed, 18 Jul 2007 13:18:45 -0400


Otherwise, you will need to manually determine indexes using -indexOfObject:, getting the controller's select objects using -selectedObjects:.


[myArrayController removeObjects:[myArrayController selectedObjects]];

does the trick, thanks.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Sorting issues with NSTableView (From: "Patrick M" <email@hidden>)
 >Re: Sorting issues with NSTableView (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Maintaining a List of instances of a class
  • Next by Date: Re: Sorting issues with NSTableView
  • Previous by thread: Re: Sorting issues with NSTableView
  • Next by thread: Re: Sorting issues with NSTableView
  • Index(es):
    • Date
    • Thread