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

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -