Chapter    5

Using the Filesystem

The filesystem has been around for a long time. Pretty much every general-purpose computer of the last 40 years has had a filesystem of some description, so it would be fairly safe to assume that the APIs for interacting with it are all clean and simple, right? I mean, for something that’s been around for so long, there can’t really be any complications that haven’t already been ironed out already. Right? Anyone?

Bueller...?

Ah, if only that were the case. . . The filesystem is usually, from the user point of view, a fairly simple construct, and that hasn’t really changed. Sure, there are newer types of filesystem out there, but they all export these things called files, which allow reading and writing, and ...

Get Beginning Objective-C 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.