Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Application Interface Basics

You use Interface Builder to assemble the visual objects (such as windows and menus) that you plan to use in your application. Creating these objects graphically (instead of programmatically) lets you make changes quickly and see the results immediately. Before you start trying to build your user interface, however, you should take a minute to understand the basic concepts associated with the Interface Builder application.

In Interface Builder, you assemble your windows and menus by dragging preconfigured components into your Interface Builder document. You can reposition those objects and change their configuration as needed to achieve the desired look for your interface. In the case of Cocoa applications, you can also create explicit relationships between objects in the form of connections, which ultimately define some of your application’s runtime behavior as well.

This chapter provides a high-level overview of Interface Builder and some of its more important workflow features. This chapter also provides some conceptual information about nib files and why they are important. If you are new to the Mac OS X platform or to Interface Builder itself, you should read this chapter at least once to familiarize yourself with these fundamental concepts. While reading this chapter, you may want to have the Interface Builder application open so that you can explore features as you read about them.

Note: Interface Builder is included with the Xcode Tools, the latest version of which can be downloaded from the members area of the Apple Developer Connection (ADC) website (http://connect.apple.com/). Registration is required but free.

Contents:

Nib Files and the Nib Document Window
Interface Builder Workflow Tools
Common Behaviors and Paradigms
Xcode Integration
Scripting Language Support




< Previous PageNext Page > Hide TOC


Last updated: 2007-10-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice