Chapter     10

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 ...

Get Objective-C Programmer's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.