Chapter 6. A Cocoa Application: Views
Laying Out the Human Interface
Making Rules for Sizing Views
Now that the model is taken care of, we turn to the other end of the application: the views. Our design for the application relies on standard elements in the Mac OS X Aqua interface.
Interface Builder (IB) is the indispensable tool for laying out human interfaces for Mac OS X applications. It edits NIB files, which are archives of human-interface objects that your application reconstitutes when the files are loaded. All Cocoa applications have a main NIB file, which the Xcode application template names MainMenu.nib
. This file contains at least the main menu bar for the application ...
Get Xcode 3 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.