• 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
Smart sort
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Smart sort


  • Subject: Smart sort
  • From: Martin <email@hidden>
  • Date: Mon, 27 Nov 2006 16:12:31 +0100

Hi,

I'm listing a folder's content using the following method : [[NSFileManager defaultManager] enumeratorAtPath:@"/path/to/a/folder"].

But I'd like to files names to be smart-sorted, just like the Finder does :
File 1.txt
File 2.txt
File 10.txt


Instead of what the previous method gives me :
File 1.txt
File 10.txt
File 2.txt

Is there a simple way to do this ?

Thanks,
Martin.
_______________________________________________

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: Smart sort
      • From: Andreas Mayer <email@hidden>
    • Re: Smart sort
      • From: James Bucanek <email@hidden>
  • Prev by Date: Re: (no subject)
  • Next by Date: Re: NSTableView: use sorting
  • Previous by thread: Core Data: data model versioning problem
  • Next by thread: Re: Smart sort
  • Index(es):
    • Date
    • Thread