I am writing a Mac Cocoa application that will manipulate database files, which can be easily be implemented using NSDocument
technology, as they relate directly to disk files.
However the majority of the app will manipulate items within this database. When user opens a database item, a new Window should appear to allow the item to be viewed, edited, saved, so the database item doesn't directly relate to a disk file. Note that undo and redo is appropriate here.
Is it appropriate to use NSDocument
technology for both database windows and database item windows, or is there a better approach?