Instance Property

temporaryDirectory

The temporary directory for the current user.

Declaration

@property(readonly, copy) NSURL *temporaryDirectory;

See Also

Accessing User Directories

homeDirectoryForCurrentUser

The home directory for the current user.

NSHomeDirectory

Returns the path to either the user’s or application’s home directory, depending on the platform.

NSUserName

Returns the logon name of the current user.

NSFullUserName

Returns a string containing the full name of the current user.

- homeDirectoryForUser:

Returns the home directory for the specified user.

NSHomeDirectoryForUser

Returns the path to a given user’s home directory.

NSTemporaryDirectory

Returns the path of the temporary directory for the current user.

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