Get temporary directory path

 Problem

I want to get the path the temporary directory, where I can store my temp files.



 Recipe


// Get temporary directory path

let path = NSTemporaryDirectory() as String
print(path)
				


 Playground