Edit AllPages

The architecture of DocumentBasedApplications:

The default NSDocumentController creates instances of your NSDocument subclass in response to user actions, such as choosing File -> New from the menu. NSDocumentController knows the name of your subclass from the “Document Types” settings in the “Application Settings” tab of ProjectBuilder’s “Edit Active Target” pane. The information in this pane ends up in your application bundle’s Info.plist. You need to define at least one Document Type, and set its NSDocumentClass to the name of your NSDocument subclass.

[add information about when documents and window controllers are released]

[add information about how a document creates its window controllers]

[add information about how a window controller loads a NibFile containing its window]

For more information on this topic refer to:


…and the reference page for NSDocument.

To add a page to the list below, create a new page and put the following anywhere within it (or add to an existing page):


You do not need to edit this page.

Here are some pages that discuss matters related to DocumentBasedApplications.