On Sun, Aug 17, 2008 at 11:39 AM, Nicolas Goles <[EMAIL PROTECTED]> wrote: > Hi, this is my first message here, but I have been following the list for a > while. > > I have an application where I need the user to be presented with an > OpenPanel, then the user will be able to select a directory. The thing is > that the only thing that I can get is the directory path, but I need somehow > to get all the directories contents paths to be in an array.
Have a look at NSFileManager. Its -directoryContentsAtPath: method is what you're looking for. sherm-- -- Cocoa programming in Perl: http://camelbones.sourceforge.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]