osx - Why do I get multiple instances of NSDocument but only one window? -


in document based application, no less three documents opened when run app, yet 1 window displays. when save&quit, saves another document 1 belongs window.

how can happen? in particular, not want multiple instances of nsdocument, how can avoid @ startup?

i found has way app set in interface builder. code did not cause behavior.

so, if seemingly random documents opening when starting doc-based application, remember also check xib settings in ib!


Comments

Popular posts from this blog

Glib GIOChannel -

jsp - java.sql.SQLException: [Microsoft][ODBC Microsoft Access > Driver] Too few parameters. Expected 1 -

python - Obscure curses error message when creating a sub window -