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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.