Skip navigation.
 
mlRe: bindings, tables and custom sort selector
FROM : Adam Knight
DATE : Fri Jul 21 07:24:18 2006

I got it working using localizedCaseInsensitiveCompare: on two string 
columns without a problem.  I'm using CD and bindings and just filled 
in the non-bindings sorter information in that first pane of the IB 
Info panel for the column.  No code needed for me.

Perhaps the issue is with the category you've defined and its 
accessibility to the column instance the NIB creates or some other 
runtime magic like that?  I'd create a dummy project and try built-in 
sorters against sorters in custom classes and categories and see 
where it breaks for you.

I can assure you that it does work for me with the stock sorting 
functions, though. :\

--
Adam Knight
codepoetry - http://www.codepoetry.net/products/


On Jul 20, 2006, at 11:49 PM, Andreas Mayer wrote:

>
> Am 21.07.2006 um 04:10 Uhr schrieb Matt Neuburg:
>

>> That's not how I read that thread. The last post in it:

>
> Yeah, well, I was thinking of the messages before that one.
>

>> My approach is either to call setSortDescriptors: on the
>> NSArrayController

>
> Hm. How do I know what column the user wants the table to be sorted 
> after?
>
> I only want to use a custom sort oder for one of the columns. 
> Everything else should work as it is now.
>
>
> Andreas
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>

Related mailsAuthorDate
mlbindings, tables and custom sort selector Andreas Mayer Jul 20, 20:37
mlRe: bindings, tables and custom sort selector Matt Neuburg Jul 21, 04:10
mlRe: bindings, tables and custom sort selector Andreas Mayer Jul 21, 06:49
mlRe: bindings, tables and custom sort selector Adam Knight Jul 21, 07:24
mlRe: bindings, tables and custom sort selector Andreas Mayer Jul 21, 08:09
mlRe: bindings, tables and custom sort selector Matt Neuburg Jul 21, 17:23