On Oct 1, 2015, at 18:26 , Alex Hall <[email protected]> wrote:
> 
> I get how to use Auto Layout to position things in my app's window, but what 
> about the window itself?

On OS X, it’s not really usual for the window to be sized directly to the 
display it’s on. That might work for small to medium size displays, but it 
tends to make windows ridiculously large on large displays. There are many 
possible routes to choosing a window size, but usually the general principle is 
to set a default size that makes sense for your app, and a minimum size to 
prevent the window from getting too small to display its content properly. 
Then, windows always open at the default size, except when the actual display 
isn’t big enough, in which case the window is reduced to fit.

You should probably try that approach first. If you feel the need to customize 
the size further, you can conveniently do so in the window controller’s 
‘windowDidLoad’ method.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to