Lights, Camera … Actions! (and Outlets, too)

  • Jack Nutting
  • Peter Clark


After we get through a bit of theory, we’re going to build an application. Our application will have a single window with a label, a text field, and a slider. When the user moves the slider, the text field will automatically update itself to reflect the value of the slider. In this chapter, we still won’t be writing any code; everything will be done using Interface Builder—but sit tight because we’ll be breaking out the Objective-C compiler in the next chapter. The way that Cocoa user interfaces interact with application code is the way that Cocoa controls interact with each other. We’ll start by wiring Cocoa controls to each other in order to see how it’s done, and in the next chapter we’ll start wiring them to our own code.


Magic Number Mouse Button Text Field Instance Variable Utility Area 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Jack Nutting 2013

Authors and Affiliations

  • Jack Nutting
    • 1
  • Peter Clark
    • 2
  1. 1.VallentunaSweden
  2. 2.MNUnited States

Personalised recommendations