Re: bindings, tables and custom sort selector
Re: bindings, tables and custom sort selector
- Subject: Re: bindings, tables and custom sort selector
- From: Matt Neuburg <email@hidden>
- Date: Thu, 20 Jul 2006 19:10:26 -0700
- Thread-topic: bindings, tables and custom sort selector
On Thu, 20 Jul 2006 20:37:42 +0200, Andreas Mayer <email@hidden>
said:
>The discussion at
>
> http://www.cocoabuilder.com/archive/message/cocoa/2005/5/17/136189
>
>indicates that it should be possible to provide a sort selector
>different from "compare:" via interface builder's attributes pane
>while using bindings.
That's not how I read that thread. The last post in it:
<http://www.cocoabuilder.com/archive/message/cocoa/2005/5/19/136386>
says you have to "set a sort descriptor on the array controller". That isn't
going to happen in IB.
>Unfortunately I can't get this to work.
Neither can I. My approach is either to call setSortDescriptors: on the
NSArrayController or to use a binding from the NSArrayController's
sortDescriptors. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden