DekGenius.com
[ Team LiB ] Previous Section Next Section

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:.

figs/cocn_1331.gif

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

    [ Team LiB ] Previous Section Next Section