NSTemporaryDirectory()
Returns the path of the temporary directory for the current user.
Declaration
func NSTemporaryDirectory() -> StringReturn Value
A string containing the path of the temporary directory for the current user.
Discussion
See the FileManager method url(for:in:appropriateFor:create:) for the preferred means of finding the correct temporary directory.
For more information about temporary files, see File System Programming Guide.