source: branches/1.7-appstore/source/examples/cocoa/currency-converter/HOWTO_files/pages/making_project.html

Last change on this file was 7799, checked in by mikel, 17 years ago

various corrections to HOWTO; added section on IB 2.x

File size: 2.4 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>Creating a Project</h1>
13 </div>
14
15 <div class="section-head">
16 <h2>Example Files</h2>
17 </div>
18
19 <div class="body-text">
20 <p>This HOWTO is distributed with example files that include a
21 working <em>nibfile</em> (a file of user-interface objects,
22 named "CurrencyConverter.nib") and a Lisp source file (named
23 "CurrencyConverter.lisp"). You can build a working copy of the
24 example application by using these files, but you probably
25 shouldn't. If you want to understand how to build your own Lisp
26 application projects, you should follow the instructions here to
27 create your own source file and nibfile, and use the example
28 files only for reference in case something goes wrong.</p>
29 </div>
30
31 <div class="section-head">
32 <h2>Create the Project Folder</h2>
33 </div>
34
35 <div class="body-text">
36 <p>First, create a project folder to hold the files you are
37 going to create. When your project is complete, the folder will
38 contain a nibfile that defines the user interface, and
39 a Lisp source file that defines the behavior of the
40 application. Those two files are really all there is to a Lisp
41 application, though not all applications are as simple as this
42 currency converter. For more complex applications it makes sense
43 to split your UI into several nibfiles, and to split your
44 implementation into several source files. The basic principle
45 remains the same, however: nibfiles define your user interface,
46 and Lisp files define your application's behavior.</p>
47
48 <p>Create a folder somewhere convenient, and name it
49 "currency-converter". Next we will use Apple's InterfaceBuilder
50 application to create the user interface The next page tells you
51 how to do that; when you create your nibfile, save it into your
52 "currency-converter" folder.</p>
53
54 <div class="nav">
55 <p><a href="../../HOWTO.html">start</a>|<a href="building_ui.html">next</a></p>
56 </div>
57
58 </body>
59</html>
60
Note: See TracBrowser for help on using the repository browser.