• 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
Re: Files in a directory.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Files in a directory.


  • Subject: Re: Files in a directory.
  • From: Sherm Pendley <email@hidden>
  • Date: Tue, 24 Feb 2004 02:23:39 -0500

On Feb 24, 2004, at 2:06 AM, Amit Sadana wrote:

I would like to find out the list of file names (in some NSArray) in a
given directory through my Cocoa -ObjC.

Use NSFileManager's -directoryContentsAtPath: method. Or, if you want to enumerate over the list of files, -enumeratorAtPath:.

sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Files in a directory. (From: "Amit Sadana" <email@hidden>)

  • Prev by Date: Files in a directory.
  • Next by Date: Re: Filtering tableview problems
  • Previous by thread: Files in a directory.
  • Next by thread: Re: Files in a directory.
  • Index(es):
    • Date
    • Thread