Re: Arg! Document window restoration. Again.


Steve Mills
 

On Jul 31, 2019, at 23:57:33, Jon Gotow <gotow@stclairsoft.com> wrote:

Can't you just set NSWindow.frameAutosaveName? Or does NSDocument get in the way of that?
From what I've experienced and read, that only helps for reopening docs on app launch, not on opening docs once launched. The OS only stores info for docs that were open when the app exits so it can restore the app to the same state (as long as you have "Close windows when quitting an app" turned off in System Prefs).

--
Steve Mills
Drummer, Mac geek

Join cocoa@apple-dev.groups.io to automatically receive all group messages.