• 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
How to enumerate directory contents?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to enumerate directory contents?


  • Subject: How to enumerate directory contents?
  • From: "Nicolas Goles" <email@hidden>
  • Date: Sun, 17 Aug 2008 11:39:33 -0400

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.

Like

/home/mp3/hello.mp3
/home/mp3/hello1.mp3
/home/mp3/hello2.mp3
/home/mp3/hello3.mp3

when the user selects the mp3 folder via an Open Panel.

Could anyone help me a bit with this ?

Thanks

--
-Nicolas Goles
_______________________________________________

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

  • Follow-Ups:
    • Re: How to enumerate directory contents?
      • From: "Shawn Erickson" <email@hidden>
    • Re: How to enumerate directory contents?
      • From: Waqar Malik <email@hidden>
    • Re: How to enumerate directory contents?
      • From: Thomas Davie <email@hidden>
    • Re: How to enumerate directory contents?
      • From: "Sherm Pendley" <email@hidden>
  • Prev by Date: Re: setNilValueForKey: not called when Number Formatter is nil
  • Next by Date: Re: How to enumerate directory contents?
  • Previous by thread: Re: building a command-line tool as a bundle
  • Next by thread: Re: How to enumerate directory contents?
  • Index(es):
    • Date
    • Thread