Re: Window Position and Size Restored


Jon Gotow
 

See NSWindow.frameAutosaveName. That should take care of it for you.

- Jon

On Sep 17, 2018, at 8:56 AM, Dave <dave@...> wrote:

I’m trying to reset the Window Position Size each time my App is run. When I run it under Debug, the Window Position keeps getting restored (AFAICT), I’ve subclassed NSWindow awakeFromNib and have tried resetting the Window FrameRect, but it doesn’t seem to have any affect. I’ve checked and it is getting called ok. I’ve tried setting the Frame before super awakeFromNib is called, but no effect.

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