Enumeration Case

NSLibraryDirectory

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

Declaration

NSLibraryDirectory

See Also

Directory Locations

NSApplicationDirectory

Supported applications (/Applications).

NSDemoApplicationDirectory

Unsupported applications and demonstration versions.

NSDeveloperApplicationDirectory

Developer applications (/Developer/Applications).

NSAdminApplicationDirectory

System and network administration applications.

NSDeveloperDirectory

Developer resources (/Developer).

NSUserDirectory

User home directories (/Users).

NSDocumentDirectory

Document directory.

NSCoreServiceDirectory

Core services (System/Library/CoreServices).

NSAutosavedInformationDirectory

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

NSDesktopDirectory

The user’s desktop directory.

NSCachesDirectory

Discardable cache files (Library/Caches).

NSApplicationSupportDirectory

Application support files (Library/Application Support).

NSDownloadsDirectory

The user’s downloads directory.

NSInputMethodsDirectory

Input Methods (Library/Input Methods).

NSMoviesDirectory

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

NSMusicDirectory

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

NSPicturesDirectory

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

NSPrinterDescriptionDirectory

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

NSSharedPublicDirectory

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

NSPreferencePanesDirectory

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

NSApplicationScriptsDirectory

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

NSItemReplacementDirectory

The constant used to create a temporary directory.

NSAllApplicationsDirectory

All directories where applications can be stored.

NSAllLibrariesDirectory

All directories where resources can be stored.

NSTrashDirectory

The trash directory.

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