• 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
Using an alternate sort selector for a bound table column?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using an alternate sort selector for a bound table column?


  • Subject: Using an alternate sort selector for a bound table column?
  • From: Jim Correia <email@hidden>
  • Date: Tue, 17 May 2005 12:12:08 -0400

I have a NSTableView with two columns (first name and last name) bound to an array. If I check the "Creates Sort Descriptor" checkbox for the value binding it appears to use compare: for the selector. Is there a way to tell the binding to use localizedCaseInsensitiveCompare: instead?

Or must I create the sort descriptor myself and apply it to the table column in awakeFromNib? Or a better solution?

Thanks,
Jim
_______________________________________________
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: Using an alternate sort selector for a bound table column?
      • From: The Karl Adam <email@hidden>
  • Prev by Date: Re: Sharing instances between NIB's?
  • Next by Date: Re: Bindings & empty strings
  • Previous by thread: Re: Bindings & empty strings
  • Next by thread: Re: Using an alternate sort selector for a bound table column?
  • Index(es):
    • Date
    • Thread