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

Re: Sort Descriptor problem in NSTableView


  • Subject: Re: Sort Descriptor problem in NSTableView
  • From: Keary Suska <email@hidden>
  • Date: Mon, 11 Aug 2008 08:26:10 -0600
  • Thread-topic: Sort Descriptor problem in NSTableView

8/11/08 4:35 AM, also sprach email@hidden:

> 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?

OTOH, implement a custom sort method, setting it as the method to use in the
table column properties.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: Graham Cox <email@hidden>
References: 
 >Sort Descriptor problem in NSTableView (From: Graham Cox <email@hidden>)

  • Prev by Date: addObserver:
  • Next by Date: Re: addObserver:
  • Previous by thread: Sort Descriptor problem in NSTableView
  • Next by thread: Re: Sort Descriptor problem in NSTableView
  • Index(es):
    • Date
    • Thread