• 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: Sort a NSArrayController using case-insensitive compare, possible ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sort a NSArrayController using case-insensitive compare, possible ?


  • Subject: Re: Sort a NSArrayController using case-insensitive compare, possible ?
  • From: Jim Correia <email@hidden>
  • Date: Mon, 24 Sep 2007 07:17:07 -0400

On Sep 24, 2007, at 4:02 AM, Conor wrote:

Should I ? At least for the column I want sorted case-insensitive ?

In Interface Builder click on the column header until the inspector displays
the NSTableColumn attributtes. The sort selector field should say "compare:"
in gray. Change that to "caseInsensitiveCompare:"

Data you intend to present to users should always be sorted using the localized sort methods.


Jim
_______________________________________________

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


References: 
 >Re: Sort a NSArrayController using case-insensitive compare, possible ? (From: Conor <email@hidden>)

  • Prev by Date: Core data or else?
  • Next by Date: declaring a function whose arg is another function
  • Previous by thread: Re: Sort a NSArrayController using case-insensitive compare, possible ?
  • Next by thread: Issue with RootDirectory key in launchd plist file
  • Index(es):
    • Date
    • Thread