Skip to Content
Cocoa Programming for OS X: The Big Nerd Ranch Guide
book

Cocoa Programming for OS X: The Big Nerd Ranch Guide

by Aaron Hillegass, Adam Preble, Nate Chandler
April 2015
Intermediate to advanced
556 pages
17h 47m
English
Big Nerd Ranch Guides
Content preview from Cocoa Programming for OS X: The Big Nerd Ranch Guide

Lay Out the Interface

Open ConfigurationWindowController.xib, select the window, and switch to attributes inspector. Uncheck Resize to disable resizing for the window. Also uncheck Visible At launch.

That last step is an important step to remember when working with sheets: if you do not uncheck Visible At Launch, the window will appear before it is presented as a sheet, which will make your application look buggy and broken.

Figure 24.5  Inspecting new window

Inspecting new window

Drag out onto the window two labels, two buttons, a color well, a text field, and a stepper. Arrange everything as in Figure 24.6.

Figure 24.6  ConfigurationWindowController ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Cocoa with Objective-C, 4th Edition

Learning Cocoa with Objective-C, 4th Edition

Paris Buttfield-Addison, Jonathon Manning, Tim Nugent
Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy

Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy

Stefan Kaczmarek, Brad Lees, Gary Bennett, Mitch Fisher

Publisher Resources

ISBN: 9780134077130Purchase book