Re: Sorting filenames the way the Finder does?
Re: Sorting filenames the way the Finder does?
- Subject: Re: Sorting filenames the way the Finder does?
- From: Jim Correia <email@hidden>
- Date: Thu, 7 Jun 2007 17:44:49 -0400
On Jun 7, 2007, at 5:39 PM, Jim Correia wrote:
On Jun 7, 2007, at 5:31 PM, James Bucanek wrote:
Is there a string comparison function (preferably Cocoa) that will
sort filenames in the same order the Finder does?
I've looked into lots of string comparison functions and options,
both Carbon and Cocoa, and I can't find any that say "this is the
way the Finder/NavServices orders items" or "this is the order
that filenames should be sorted when displaying them for the user."
http://docs.info.apple.com/article.html?artnum=300989
Ignore that. I pasted too quickly.
This is the one you want:
http://developer.apple.com/qa/qa2004/qa1159.html
- Jim
_______________________________________________
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