O'Reilly logo

Sams Teach Yourself Xcode® 4 in 24 Hours by William Ray, John Ray

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required