Re: Sort a NSArrayController using case-insensitive compare, possible ?
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