• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Window size and location defaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSNumberFormatter Issues
  • Next by Date: selectText of NSTextField on focus
  • Previous by thread: Re: NSNumberFormatter Issues
  • Next by thread: selectText of NSTextField on focus
  • Index(es):
    • Date
    • Thread