Enumeration Case

FileManager.SearchPathDirectory.trashDirectory

The trash directory.

Declaration

case trashDirectory = 102

See Also

Directory Locations

case applicationDirectory

Supported applications (/Applications).

case demoApplicationDirectory

Unsupported applications and demonstration versions.

case developerApplicationDirectory

Developer applications (/Developer/Applications).

case adminApplicationDirectory

System and network administration applications.

case libraryDirectory

Various user-visible documentation, support, and configuration files (/Library).

case developerDirectory

Developer resources (/Developer).

case userDirectory

User home directories (/Users).

case documentDirectory

Document directory.

case coreServiceDirectory

Core services (System/Library/CoreServices).

case autosavedInformationDirectory

The user’s autosaved documents (Library/Autosave Information).

case desktopDirectory

The user’s desktop directory.

case cachesDirectory

Discardable cache files (Library/Caches).

case applicationSupportDirectory

Application support files (Library/Application Support).

case downloadsDirectory

The user’s downloads directory.

case inputMethodsDirectory

Input Methods (Library/Input Methods).

case moviesDirectory

The user’s Movies directory (~/Movies).

case musicDirectory

The user’s Music directory (~/Music).

case picturesDirectory

The user’s Pictures directory (~/Pictures).

case printerDescriptionDirectory

The system’s PPDs directory (Library/Printers/PPDs).

case sharedPublicDirectory

The user’s Public sharing directory (~/Public).

case preferencePanesDirectory

The PreferencePanes directory for use with System Preferences (Library/PreferencePanes).

case applicationScriptsDirectory

The user scripts folder for the calling application (~/Library/Application Scripts/<code-signing-id>.

case itemReplacementDirectory

The constant used to create a temporary directory.

case allApplicationsDirectory

All directories where applications can be stored.

case allLibrariesDirectory

All directories where resources can be stored.

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