Hour 9. Connecting a GUI to Code

What You’ll Learn in This Hour:

The code that supports outlets, properties, and actions

How to use the Connections Inspector

The process for making outlet and action connections

How Xcode can generate connection code for you

After the preceding hour’s lesson, you know how to make an interface. But how do you make it do something? As mentioned previously, connecting an interface to code is just a matter of “connecting the dots.” In this hour, you learn how to do just that: take an graphical user interface (GUI) and connect it to the code that makes it into a functional application. You also learn how to automatically create the outlets and actions in your code that make these connections possible.

Outlet, ...

Get Sams Teach Yourself Xcode® 4 in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.