Multidocument Applications
Applications that enable users to open and manipulate multiple documents simultaneously are very common. Examples of multidocument applications include word processors, spreadsheets, and drawing programs. Because multidocument applications are so common, the Application Kit contains classes that automate most of the work needed to manage multiple documents simultaneously.
The following five classes interoperate to aid in the implementation of multidocument applications: NSApplication, NSDocumentController, NSDocument, NSWindowController, and NSFileWrapper. Every application contains an instance of NSApplication, but the other classes are strictly optional. NSDocumentController, NSDocument, NSWindowController, and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access