About the Cocoa Document Architecture
Explains how to create document-based applications using the Cocoa document architecture on OS X.