The constant used to create a temporary directory.
On This Page
NSItemReplacementDirectory = 99
Pass this constant to the NSFileManager method URLForDirectory:inDomain:appropriateForURL:create:error: in order to create a temporary directory.
Supported applications (/Applications).
Unsupported applications and demonstration versions.
Developer applications (/Developer/Applications).
System and network administration applications.
Various user-visible documentation, support, and configuration files (/Library).
Developer resources (/Developer).
User home directories (/Users).
Core services (System/Library/CoreServices).
The user’s autosaved documents (Library/Autosave Information).
The user’s desktop directory.
Discardable cache files (Library/Caches).
Application support files (Library/Application Support).
The user’s downloads directory.
Input Methods (Library/Input Methods).
The user’s Movies directory (~/Movies).
The user’s Music directory (~/Music).
The user’s Pictures directory (~/Pictures).
The system’s PPDs directory (Library/Printers/PPDs).
The user’s Public sharing directory (~/Public).
The PreferencePanes directory for use with System Preferences (Library/PreferencePanes).
The user scripts folder for the calling application (~/Library/Application Scripts/<code-signing-id>.
All directories where applications can be stored.
All directories where resources can be stored.
The trash directory.
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.