Window size and location defaults
Window size and location defaults
- Subject: Window size and location defaults
- From: Marco S Hyman <email@hidden>
- Date: Sun, 05 Jul 2015 13:10:41 -0700
Hello,
I’m playing with an OS X app using storyboards. I’ve assigned an
Autosave name to the window in Xcode (version 7) and see this in user
defaults after starting the program.
"NSWindow Frame MainWindow" = "1040 566 540 300 0 0 2560 1417 “;
If I change the window size and check defaults I see the change.
"NSWindow Frame MainWindow" = "1040 490 619 376 0 0 2560 1417 “;
The change is still there when checking the defaults after app termination.
However, the next time I run the app I get the original window size and
autosave info is reset to its initial value.
What am I doing wrong and/or not doing?
Marc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden