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: Scott Anguish <email@hidden>
- Date: Thu, 7 Jun 2007 17:48:08 -0400
gah.. actually, that's way more work than you need for displaying to
the user.
here is a message from Deborah posted here recently
http://www.cocoabuilder.com/archive/message/cocoa/2007/4/13/181880
On Jun 7, 2007, at 5:44 PM, Jim Correia wrote:
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
_______________________________________________
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