• 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: characterAtIndex: method and composite characters (SOLVED)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: characterAtIndex: method and composite characters (SOLVED)


  • Subject: Re: characterAtIndex: method and composite characters (SOLVED)
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 4 Apr 2007 16:26:40 -0700


On 2007 Apr, 04, at 12:04, Douglas Davidson wrote:

If you are sorting user-visible strings, it's usually best to use the user's preferred sort ordering, which the locale-sensitive compare methods will do.

Specifically, -localizedCompare and - localizedCaseInsensitiveCompare. It took me quite a few months to "discover" those since their names don't begin with "-compare" ;(



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: characterAtIndex: method and composite characters (SOLVED)
      • From: Ricky Sharp <email@hidden>
References: 
 >characterAtIndex: method and composite characters (From: "Ewan Delanoy" <email@hidden>)
 >Re: characterAtIndex: method and composite characters (From: Douglas Davidson <email@hidden>)
 >Re: characterAtIndex: method and composite characters (SOLVED) (From: "Ewan Delanoy" <email@hidden>)
 >Re: characterAtIndex: method and composite characters (SOLVED) (From: Douglas Davidson <email@hidden>)

  • Prev by Date: textView:shouldChangeTextInRange:replacementString:
  • Next by Date: Re: characterAtIndex: method and composite characters (SOLVED)
  • Previous by thread: Re: characterAtIndex: method and composite characters (SOLVED)
  • Next by thread: Re: characterAtIndex: method and composite characters (SOLVED)
  • Index(es):
    • Date
    • Thread