FileManager
extension FileManager
-
Creates a new temporary directory and returns its URL.
Declaration
Swift
public func makeTemporaryDirectory() throws -> URL -
Returns a unique URL into which a temporary file can be written.
Declaration
Swift
public func makeTemporaryFileURL() -> URL -
Writes
sto a temporary file and returns its URL.Declaration
Swift
public func temporaryFile(containing s: String) throws -> URL
View on GitHub