Skip to content

Glossary: Swift Beyond the Basics

FileManager

Also written: temporaryDirectory

Foundation's tool for working with files and folders. `FileManager.default.temporaryDirectory` is the system's temporary folder, and `removeItem(at:)` deletes a file.

Where the book teaches it

Related terms

URLData