Re: characterAtIndex: method and composite characters (SOLVED)
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