Create the Currency Converter Project

Now that you have a design for Currency Converter, it’s time to start building the application.

Create the Application Project

Your first step toward completing the application is to create the Project Builder project.

  1. Start Project Builder.

  2. Choose New Project from the File menu.

  3. In the New Project panel, select the Cocoa Application project type and click the Next button.

  4. Name the application Currency Converter.

  5. If you wish, click Set to select a location to save the project in a specific location of your choice. To use the default location, go on to step 6.

  6. Click Finish.

Project Indexing

It’s a good idea to have Project Builder index a project once it has been created. During indexing Project Builder stores all symbols of the project (classes, methods, globals, etc.) on disk. This allows Project Builder to access project-wide information quickly.

Note that the version of Project Builder included with the first release of Mac OS X contained a bug causing project indexing to fail unless the project had first been built. If you are working with this release, simply build the project before attempting to create a project index.

To create an index, choose Index Project (Command-Option-I) from the Project menu. Once your project has been indexed, you’ll be able to use Project Find to search both your project’s code and the system headers for symbols. You’ll also be able to access reference documentation directly from Project Find results. Creating ...

Get Learning Cocoa 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.