source: branches/1.2-devel/ccl/examples/cocoa/currency-converter/HOWTO_files/pages/building_ui_tiger.html

Last change on this file was 7803, checked in by Gary Byers, 17 years ago

Sync with trunk

File size: 2.8 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>CurrencyConverter HOWTO</title>
6 <link rel="stylesheet" type="text/css" href="../stylesheets/styles.css" />
7 </head>
8
9 <body>
10
11 <div class="title">
12 <h1>Building the User Interface on "Tiger"</h1>
13 </div>
14
15 <div class="body-text">
16 <p>If you are using Mac OS X 10.4.x ("Tiger") to build your
17 application, then the Apple tutorial's section on building the
18 UI may be somewhat confusing. Apple's tutorial uses
19 InterfaceBuilder 3.x to show how to build an interface, and
20 there were many interface changes between versions 2.x and 3.x
21 of InterfaceBuilder. In this section we see how to build the UI
22 using InterfaceBuilder 2.x.</p>
23
24 <div class="section-head">
25 <h2>Launch InterfaceBuilder</h2>
26 </div>
27
28 <p>Start by locating Apple's InterfaceBuilder application. If
29 you installed Apple's Developer Tools, InterfaceBuilder should
30 be in the folder "/Developer/Applications/":</p>
31
32 <div class="inline-image">
33 <img src="../images/finder-win2.jpg"alt=""
34 border='0'/>
35 </div>
36
37 <p class= "note"><strong><em>NOTE:</em></strong> If you have not
38 installed Apple's Developer Tools, you should do that now. You
39 will not be able to build the CurrencyConverter example
40 without them. The Developer Tools are distributed as an
41 optional install with Mac OS X 10.4 ("Tiger"). Look for the
42 "XCode Tools" package in the "Optional Installs" folder on the
43 Mac OS 10.4 install disk.</p>
44
45 <p>Once you have located InterfaceBuilder, double-click to launch
46 the application. InterfaceBuilder presents a window you can use
47 to choose a template for the nibfile you are going to create.</p>
48
49 <div class="inline-image">
50 <img src="../images/ibwin-tiger1.jpg"alt=""
51 border='0'/>
52 </div>
53
54 <p>Make sure the "Application" option is selected in the "Cocoa"
55 section and click the "New" button to create a new
56 nibfile. InterfaceBuilder creates a new application nibfile, but
57 doesn't immediately save it. The Objective C objects that
58 represent the new application's interface appear in a new
59 untitled window:</p>
60
61 <div class="inline-image">
62 <img src="../images/ibwin-tiger2.jpg"alt=""
63 border='0'/>
64 </div>
65
66 <p>The intial window and menubar also appear on the screen. The
67 new application's name appears in the menus as
68 "NewApplication". Save the new nibfile into the
69 "currency-converter" folder that you created earlier
70 (on <a href="making_project.html">this page</a>).</p>
71
72 </div>
73 </body>
74</html>
75
Note: See TracBrowser for help on using the repository browser.