• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: bindings, tables and custom sort selector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: bindings, tables and custom sort selector
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: KVO and the observeValueForKeyPath bottleneck
  • Next by Date: changing a single row in NSOutlineView to different control
  • Previous by thread: bindings, tables and custom sort selector
  • Next by thread: Re: bindings, tables and custom sort selector
  • Index(es):
    • Date
    • Thread