FROM : Matt Neuburg
DATE : Fri Jul 21 04:10:26 2006
On Thu, 20 Jul 2006 20:37:42 +0200, Andreas Mayer <<email_removed>>
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_removed>, <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>
DATE : Fri Jul 21 04:10:26 2006
On Thu, 20 Jul 2006 20:37:42 +0200, Andreas Mayer <<email_removed>>
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_removed>, <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>
| Related mails | Author | Date |
|---|---|---|
| Andreas Mayer | Jul 20, 20:37 | |
| Matt Neuburg | Jul 21, 04:10 | |
| Andreas Mayer | Jul 21, 06:49 | |
| Adam Knight | Jul 21, 07:24 | |
| Andreas Mayer | Jul 21, 08:09 | |
| Matt Neuburg | Jul 21, 17:23 |






Cocoa mail archive

