Working with Files in Swift using FileManager

In the previous lesson, we looked at the FileManager, FileHandle and Data Foundation Framework classes and discussed how the FileManager class, in particular, enables us to work with directories when writing Swift code. We also spent some time covering the file system structure used by Swift. In particular, we looked at the temporary and Documents directories and how the location of those directories can be identified from within Swift code.

In this lesson, we’re moving on from working with directories to covering the details of working with files within Swift.

Get hands-on with 1200+ tech skills courses.