• 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: Sorting filenames the way the Finder does?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Sorting filenames the way the Finder does?
      • From: James Bucanek <email@hidden>
References: 
 >Sorting filenames the way the Finder does? (From: James Bucanek <email@hidden>)
 >Re: Sorting filenames the way the Finder does? (From: Jim Correia <email@hidden>)
 >Re: Sorting filenames the way the Finder does? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Sorting filenames the way the Finder does?
  • Next by Date: Re: Sorting filenames the way the Finder does?
  • Previous by thread: Re: Sorting filenames the way the Finder does?
  • Next by thread: Re: Sorting filenames the way the Finder does?
  • Index(es):
    • Date
    • Thread