Skip navigation.
 
mlRe: bindings, tables and custom sort selector
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>

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