• 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
Sort Descriptor problem in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sort Descriptor problem in NSTableView


  • Subject: Sort Descriptor problem in NSTableView
  • From: Graham Cox <email@hidden>
  • Date: Mon, 11 Aug 2008 20:35:34 +1000

I have a table view where one column's strings are sorted using (NSCaseInsensitiveSearch | NSNumericSearch). To do this I use compare:options: on the strings.

I'd like to be able to allow the user to sort ascending or descending in the usual way by clicking the column header but using the above comparison options. It doesn't look as if that's possible with sort descriptors because compare:options: isn't KVC compliant. Is there a way around this?

cheers, Graham
_______________________________________________

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


  • Follow-Ups:
    • Re: Sort Descriptor problem in NSTableView
      • From: Keary Suska <email@hidden>
  • Prev by Date: NSTokenField with plain text
  • Next by Date: Non-NSObject object and garbage collection
  • Previous by thread: NSTokenField with plain text
  • Next by thread: Re: Sort Descriptor problem in NSTableView
  • Index(es):
    • Date
    • Thread