FIGURE 12.1 Using the Connections Inspector...

Preview:

Citation preview

Using the Connections Inspector 211

FIGURE 12.1Look at outletsfor File’sOwner.

12_9780672336195_ch12.qxd 6/13/12 1:00 PM Page 211

Using the Connections Inspector 213

FIGURE 12.2Look at connec-tions from theother side.

12_9780672336195_ch12.qxd 6/13/12 1:00 PM Page 213

214

FIGURE 12.3Without theconnection, theapp will crash.

HOUR 12: Finding Your Way Around the Interface Builder Editor

12_9780672336195_ch12.qxd 6/13/12 1:00 PM Page 214

218

FIGURE 12.4Add a new fieldto the datamodel.

HOUR 12: Finding Your Way Around the Interface Builder Editor

12_9780672336195_ch12.qxd 6/13/12 1:00 PM Page 218

Using IBOutlets for Data Elements 219

FIGURE 12.5Add a new textfield to the canvas.

12_9780672336195_ch12.qxd 6/13/12 1:00 PM Page 219

220

FIGURE 12.6Create a mean-ingful label forthe new field.

HOUR 12: Finding Your Way Around the Interface Builder Editor

12_9780672336195_ch12.qxd 6/13/12 1:00 PM Page 220

Using IBOutlets for Data Elements 221

FIGURE 12.7Control-dragfrom File’sOwner to thenew field.

12_9780672336195_ch12.qxd 6/13/12 1:00 PM Page 221

222 HOUR 12: Finding Your Way Around the Interface Builder Editor

FIGURE 12.8Choose the outlet.

12_9780672336195_ch12.qxd 6/13/12 1:00 PM Page 222

Recommended