In my Document based application, no less than three documents are opened when I run the app, yet only one window displays. When I save&quit, it saves another document than the one that belongs to the window.
How can this happen? In particular, I do not want multiple instances of NSDocument
, how can I avoid this at startup?