Lab 1 - Xcode and Interface Builder
Objectives
- Become familiar with the tools of the course
- Create and execute a simple user interface
The instructions for creating a new Xcode project and using Interface Builder
are given in Chapter 2 of your text book. Use this reference to perform
the following tasks
- In Xcode, create a new View-based iPhone application.
- Open the project's xib file with Interface Builder.
- Add a text label and an image view to your main view.
- Set the text value to something suitably amusing and make sure the text
is centered and adjust the size, color, and font to your choosing.
- In Xcode, add an image of your choosing (png of jpg) to your project by
either dragging the image into the Resources folder of your project or use
the Project -> Add to Project... menu to select an image. Be sure to
check the "Copy items into destination" checkbox so that the resource will
reside inside your project for submission.
- Back in Interface Builder, select the image view and set the image that
you included using the Attributes Inspector. Try different modes to see
which works best.
- In Xcode, build and run your project in the simulator. Here is a
sample of what your view might look like.

- Compress your project and send it to me through the Dropbox in
BlackBoard.