I am writing a document based application, where there is a project file that the user opens, and a number of associated source files, all of which I wish to edit in the same window. How can I do this within the NSDocument
architecture? specifically how can create multiple NSDocument
s as children of the NSDocument
associated to the project file, and then display these all within one window controller.
This has been asked before (e.g. Multiple Documents in a Single Window in Cocoa), but the answers suggest working outside of the document architecture, something no longer possible with the recent App Store rule change that requires all applications to use the sandbox, which requires all IO via NSDocument.