• 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: Matt Neuburg <email@hidden>
  • Date: Thu, 24 Feb 2005 11:11:27 -0800

On or about 2/24/05 10:17 AM, thus spake "glenn andreas" <email@hidden>:

>
> On Feb 24, 2005, at 11:02 AM, Matt Neuburg wrote:
>
>> On Wed, 23 Feb 2005 16:16:57 -0600, Justin Spahr-Summers
>> <email@hidden> said:
>>> He has multiple recursive directories, in which case a simple
>>> NSDirectoryEnumerator wouldn't work, as it would only give the
>>> contents of the directory you specify.
>>
>> "An enumeration is recursive, including the files of all
>> subdirectories." In
>> other words, an NSDirectoryEnumerator does recurse, and indeed, one of
>> the
>> problems with it is getting it *not* to recurse (in case you wanted to
>> fill
>> your data structure recursively). m.
>>
>
> What about:
> - (void)skipDescendents

Obviously. My point was, however, that his claim, that
"NSDirectoryEnumerator wouldn't work, as it would only give the contents of
the directory you specify," was wrong. m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/



 _______________________________________________
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

References: 
 >Re: Indexing/Directory Enumeration (From: glenn andreas <email@hidden>)

  • Prev by Date: Making NSView respond to command+key equivalent
  • Next by Date: Re: Working with nil values [was Custom bindings in a control/cell pair]
  • Previous by thread: Re: Indexing/Directory Enumeration
  • Next by thread: Newbie - Cursor question
  • Index(es):
    • Date
    • Thread