Datasheet
Book VII
Chapter 1
A User Interface
for Adding Hotels
and Using the
Address Book
753
Making the Connections in Interface Builder
This sets the File’s Owner as the UITextFieldDelegate, something
you’ll need to do to manage the keyboard. I explain that in a later section.
When you’re all done, your screen should look like mine in Figure 1-11.
7. Repeat Steps 4–6 for the rest of the outlets.
address, city, state, and zip, to be precise.
With that done, you are now ready to connect the buttons.
8. From the same File’s Owner menu, drag from getFromContacts
under Received Actions, to the Get from Contacts button and then let
go of the mouse.
You see a pop-up menu.
9. Select Touch Up Inside from the pop-up menu, as I have in Figure 1-12.
10. Repeat Steps 8 and 9 for Save to Contacts.
11. Be sure to save your work.
Figure 1-11:
The first of
the outlets
complete.
41_542934-bk07ch01.indd 75341_542934-bk07ch01.indd 753 3/23/10 11:01 PM3/23/10 11:01 PM