• 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: Adam Knight <email@hidden>
  • Date: Fri, 21 Jul 2006 00:24:18 -0500

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@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ 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>
References: 
 >Re: bindings, tables and custom sort selector (From: Matt Neuburg <email@hidden>)
 >Re: bindings, tables and custom sort selector (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: changing a single row in NSOutlineView to different control
  • Next by Date: Re: Single Instance of a Cocoa Application.
  • Previous by thread: Re: bindings, tables and custom sort selector
  • Next by thread: Re: bindings, tables and custom sort selector
  • Index(es):
    • Date
    • Thread