• 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: Indexing/Directory Enumeration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indexing/Directory Enumeration


  • Subject: Re: Indexing/Directory Enumeration
  • From: Robert Martin <email@hidden>
  • Date: Wed, 23 Feb 2005 01:45:04 -0500

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
  • Follow-Ups:
    • Re: Indexing/Directory Enumeration
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Indexing/Directory Enumeration (From: Austin Sarner <email@hidden>)

  • Prev by Date: scrollRangeToVisible is slowing me down
  • Next by Date: Re: Indexing/Directory Enumeration
  • Previous by thread: Indexing/Directory Enumeration
  • Next by thread: Re: Indexing/Directory Enumeration
  • Index(es):
    • Date
    • Thread