The File System
One of the highlights of working with Objective-C is the availability of high quality libraries that can be used to access most of the resources provided by the operating system. In this chapter, I will show you some of the classes and methods that are used to interact with external storage files in the Foundation framework.
There are different ways to interface with the file system in Objective-C. First, the Foundation framework has a few methods that can be used for simplified file access, both reading and writing. These methods have been added to classes such as NSString and NSData, and offer a convenient way to access files without having to worry about the lower level details of how they are stored. The internal ...