What is the best way to remember the Windows position between application loads using Obj-C? I am using Interface Builder for the interface, is it possible to do this with bind
For me, the following line in -applicationDidFinishLaunching
in the app delegate workes fine (under Catalina, macOS 10.15):
[self.window setFrameAutosaveName: @"NameOfMyApp"];
it is important that this line
[self.window setDelegate: self];
is executed before setFrameAutosaveName
in -applicationDidFinishLaunching
!