Smart sort
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