• 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: Ricky Sharp <email@hidden>
  • Date: Wed, 4 Apr 2007 19:34:29 -0500


On Apr 4, 2007, at 6:26 PM, Jerry Krinock wrote:


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" ;(

Well, there is one flavor that starts with 'compare' (which I personally use):


compare:options:range:locale:


___________________________________________________________ Ricky A. Sharp mailto:email@hidden Instant Interactive(tm) http://www.instantinteractive.com

_______________________________________________

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


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>)
 >Re: characterAtIndex: method and composite characters (SOLVED) (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: characterAtIndex: method and composite characters (SOLVED)
  • Next by Date: Help for responders...
  • Previous by thread: Re: characterAtIndex: method and composite characters (SOLVED)
  • Next by thread: Re: characterAtIndex: method and composite characters (SOLVED)
  • Index(es):
    • Date
    • Thread