Datasheet
742
Add AddHotelController
Be sure the UITableViewController subclass is not selected and the
With XIB for User Interface is selected.
You see a new dialog asking for some more information.
3. Enter AddHotelController.m in the File Name field and then click
Finish.
To make things easier to find, I keep my AddHotelController.m and .h
classes in the Classes folder. I also move the AddHotelController.xib to
the Resources folder.
The first thing I want to have you do is create the entry screen, so start by
double-clicking AddHotelController.xib to launch Interface Builder
and start laying out the user interface. Just so you know what you’re aiming
for, Figure 1-1 shows what the final application is going to look like in the
Simulator.
Figure 1-1:
Adding a
place to
stay.
41_542934-bk07ch01.indd 74241_542934-bk07ch01.indd 742 3/26/10 10:32 PM3/26/10 10:32 PM