Enumeration

NSDirectoryEnumerationOptions

Options for enumerating the contents of directories.

Declaration

typedef enum NSDirectoryEnumerationOptions : NSUInteger {
    ...
} NSDirectoryEnumerationOptions;

Overview

Topics

Directory Enumeration Options

NSDirectoryEnumerationSkipsSubdirectoryDescendants

An option to perform a shallow enumeration that doesn’t descend into directories.

NSDirectoryEnumerationSkipsPackageDescendants

An option to treat packages like files and not descend into their contents.

NSDirectoryEnumerationSkipsHiddenFiles

An option to skip hidden files.

See Also

Supporting Types

NSSearchPathDirectory

The location of significant directories.

NSSearchPathDomainMask

Domain constants specifying base locations to use when you search for significant directories.

NSFileAttributeKey

Keys in dictionaries used to get and set file attributes.

NSFileAttributeType

Values representing a file’s type attribute.

NSFileProtectionType

Protection level values that can be associated with a file attribute key.

NSURLFileProtectionType

Protection level values that can be associated with a URL resource key.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software