NSFileManager explained, with code examples

Mattt Thompson on NSFileManager:

NSFileManager is Foundation’s high-level API for working with file systems. It abstracts Unix and Finder internals, providing a convenient way to create, read, move, copy, and delete files & directories on local or networked drives, as well as iCloud ubiquitous containers.

Mattt includes code for several common file/folder operations (listing files, creating/deleting, etc).