Graphics Programs Reference
In-Depth Information
Next, back in the XIB file, Control-drag from the
UITextField
next to the
Name
label
to the instance variable area (inside the curly brackets) in
DetailViewControl-
ler.h
, as shown in
Figure 11.9
.
Figure 11.9 Dragging from XIB to source file
Let go while still inside the instance variable area, and a pop-up window will appear.
Enter
nameField
into this field, select
Weak
from the
Storage
pop-up menu, and click
Connect
(
Figure 11.10
)
.
Figure 11.10 Auto-generating an outlet and making a connection