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

Re: Using an alternate sort selector for a bound table column?


  • Subject: Re: Using an alternate sort selector for a bound table column?
  • From: The Karl Adam <email@hidden>
  • Date: Wed, 18 May 2005 20:21:05 -0400

In interface builder double click the column and you can edit the attribrutes which contains the sortDescriptor for that column. You can set the sort method, and direction.

-Karl

On 5/17/05, Jim Correia <email@hidden> wrote:
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 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: Using an alternate sort selector for a bound table column?
      • From: Jim Correia <email@hidden>
References: 
 >Using an alternate sort selector for a bound table column? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: How best to archive in CSV format
  • Next by Date: Re: Size of comboboxes in an NSTableView / NSTableColumn
  • Previous by thread: Using an alternate sort selector for a bound table column?
  • Next by thread: Re: Using an alternate sort selector for a bound table column?
  • Index(es):
    • Date
    • Thread