Re: Indexing/Directory Enumeration
Re: Indexing/Directory Enumeration
- Subject: Re: Indexing/Directory Enumeration
- From: Robert Martin <email@hidden>
- Date: Wed, 23 Feb 2005 01:57:53 -0500
Sorry - the link should be:
http://www.zathras.de/angelweb/sourcecode.htm
Rob
On Feb 22, 2005, at 11:45 PM, Robert Martin wrote:
You might want to check out the UKDirectoryEnumerator class at:
http://www.zathras.de/programming/cocoa/. It's faster and more
flexible than the standard NSDirectoryEnumerator class. I'd start with
that, and only think of using lower level carbon calls if performance
made it absolutely necessary.
On Feb 22, 2005, at 7:46 PM, Austin Sarner wrote:
I am trying to recursively loop through the contents of a folder
recreating the structure using an IndexedFolder class that contains
an array of for the contents of the folder and a string for the name
(to represent the folders) and a special class called IndexedFile
which holds info about each file and represents them.
<snip>
I'm pretty sure I will need to use an NSDirectoryEnumerator to go
through them all and create the objects and make the arrays to
represent it. Is this the right approach? And if so, can you give
me a nudge in the right direction. Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden