
496 9 Chapter 23: Documents and Files
any of these environments, you may never need to execute
read
or
wr i t e
statements.
This chapter provides an overview of document handling on Mac
OS X and Cocoa. In particular, you will find sections on:
9 Working with document-based architectures
9 Implementing documents and views
9 Saving and restoring documents
9 Managing changed documents (using Undo and Dirty )
Document-Based Architectures
The advent of the personal computer and its widespread use
in offices gave birth to the document-based architecture that
is so common today. Before then, computers had worked pri-
marily with data ...