Re: Sort Descriptor problem in NSTableView
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