• 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: NSTableView default sort column?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTableView default sort column?
      • From: mmalc Crawford <email@hidden>
References: 
 >Re: NSTableView default sort column? (From: "Joe Goh" <email@hidden>)
 >Re: NSTableView default sort column? (From: mmalc Crawford <email@hidden>)

  • Prev by Date: Re: screen dump crash with out sleep
  • Next by Date: where to call selectItemAtIndex: on NSOutlineView
  • Previous by thread: Re: NSTableView default sort column?
  • Next by thread: Re: NSTableView default sort column?
  • Index(es):
    • Date
    • Thread