NSDirectoryEnumerator Mac OS X 10.0

This subclass of NSEnumerator enumerates the contents of a directory at a specified path. The objects returned by the directory enumerator are strings of the pathnames of all files and subdirectories contained within the directory represented by the enumerator. Enumeration is recursive; that is, the contents of a child directory will be enumerated when encountered. Instances of this class are returned by the NSFileManager method enumeratorAtPath:.


@interface NSDirectoryEnumerator : NSEnumerator
 // Instance Methods
   - (NSDictionary *)directoryAttributes;
   - (NSDictionary *)fileAttributes;
   - (void)skipDescendents;

    Part II: API Quick Reference
    Chapter 13. Foundation Classes