Order of [... directoryContentsAtPath:...]
Order of [... directoryContentsAtPath:...]
- Subject: Order of [... directoryContentsAtPath:...]
- From: David Blanton <email@hidden>
- Date: Wed, 9 Dec 2009 14:38:08 -0700
NSArray *array = [[NSFileManager defaultManager]
directoryContentsAtPath:fullPath]];
Will array objects 0 thru n be in dictionary order? This seems to be
the case <sometimes> but not always. Should one sort array in an
ascending manner?
Every place I run my code I always see array in dictionary order.
However, in one customer case the order is not dictionary.
Just information I am looking for.
db
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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