Re: NSTableView default sort column?
Re: NSTableView default sort column?
- Subject: Re: NSTableView default sort column?
- From: "Joe Goh" <email@hidden>
- Date: Sat, 23 Jun 2007 14:34:04 +0800
On 6/23/07, mmalc Crawford <email@hidden> wrote:
On Jun 22, 2007, at 8:16 PM, Joe Goh wrote:
> selector:@selector(caseInsensitiveCompare:)]];
>
Since the strings here are to be presented to the user, the selector
should almost certainly be
@selector(localizedCaseInsensitiveCompare:)
(The documentation is being updated to make this point pervasively...)
I must be doing something incorrectly, as I can't seem to use
localizedCaseInsensitiveCompare: as a selector for NSSortDescriptor.
caseInsensitiveCompare: works without problems.
This is the error that I receive:
*** NSRunLoop ignoring exception 'unsupported NSSortDescriptor
selector: localizedCaseInsensitiveCompare:' that raised during posting
of delayed perform with target dd2e250 and selector
'invokeWithTarget:'
Any idea where the problem might be?
Joe Goh
FunkeeMonk Technology
http://www.funkeemonk.com/
_______________________________________________
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