• 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
Sorting an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sorting an NSTableView


  • Subject: Sorting an NSTableView
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Sun, 30 Nov 2008 00:31:29 +0700

I have an NSTableView, filled by an NSArrayController.
A column has "Creates Sort Descriptor" selected in InterfaceBuilder.

And right: when I click on this column, an NSSortDescriptor gets created with the selector "compare:".

Works fine; only "compare:" is quite unusable; the documentation quite rightly says: "If you are comparing strings to present to the end- user, you should typically use localizedCompare:"

Is it possible to specify in InterfaceBuilder which selector to use for sorting?


Kind regards,

Gerriet.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Text blurred in application
  • Next by Date: QuartzCore and CIContext
  • Previous by thread: Re: Keystrokes for non-ascii letters
  • Next by thread: Re: Sorting an NSTableView
  • Index(es):
    • Date
    • Thread