Re: List files & put into an array
Re: List files & put into an array
- Subject: Re: List files & put into an array
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 3 Jun 2003 11:22:09 -0700
On Monday, June 2, 2003, at 01:27 PM, Chad Armstrong wrote:
Okay, yet another question which I didn't find an immediate answer to
from searching.
What is a good way to retrieve a list of file names from a directory
(~/Documents) and put them into list, such as an NSArray? I just need
the names of the files, not the info (size, permissions, etc.)
associated with them.
Sounds like a job for NSDirectoryEnumerator..
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.