By Apple Computer, Inc.
Price: $34.95 USD
£24.95 GBP
Cover | Table of Contents | Colophon
| Menu | Menu Item | Action |
|---|---|---|
| Application | About Moon Travel Planner |
Opens a window that shows version information. |
/Developer/Applications. The
first time you open Project Builder, the Project Builder Assistant
opens. You'll need to complete the setup process before you can
proceed with the next step.
Moon Travel Planner as
the project name (as shown in Figure 3.13) and click Set to choose
a location to store the project. A sheet appears that lets
you navigate to the location you want to store the project.main.c in
the Groups & Files list. If you can't see the main.c file,
click the Files tab and open the Sources group. You
should see the same code shown in Example 3.1.main.nib and
puts it in the Resources group of the project. As you recall, the
nib file contains the application's interface-based resources.
It's an Interface Builder file (the "ib" in "nib" stands
for Interface Builder) that contains descriptions of the interface
elements in your application. These descriptions use Extensible Markup Language (XML).
main.nib and
puts it in the Resources group of the project. As you recall, the
nib file contains the application's interface-based resources.
It's an Interface Builder file (the "ib" in "nib" stands
for Interface Builder) that contains descriptions of the interface
elements in your application. These descriptions use Extensible Markup Language (XML).
resource 'MENU' (kFileMenuID, "File menu")
{
kFileMenuID, // Menu ID
textMenuProc, // Menu definition procedure
0x7FFFFFFF, // Enable/disable flags for menu items
enabled, // Enable/disable flag for menu
kMenuTitleFile, // Menu title
{
kItemNameClose, noIcon, // Close command
kItemKeyClose, noMark, plain,
"-", noIcon, noKey, noMark, plain, // Separator
kItemNameQuit, noIcon, // Quit command
kItemKeyQuit, noMark, plain
}
};/Developer/Applications folder. Although
you can double-click the Interface Builder icon to open it, we'll
open Interface Builder from within Project Builder. Most of the
time you'll have both open and move between them as you modify
the interface and add code.main.nib file,
located in the Resources group.redo, undo, copy)
contain all lowercase characters. To avoid any possible conflicts with
any Apple commands, you should use at least one uppercase character
in the command signatures you define.main.nib in the Resources group in the project
window.