Skip to main content

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

  • Chapter
  • First Online:
Learn Cocoa on the Mac
  • 742 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Jack Nutting

About this chapter

Cite this chapter

Nutting, J., Clark, P. (2013). Lights, Camera … Actions! (and Outlets, too). In: Learn Cocoa on the Mac. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4543-8_3

Download citation

Publish with us

Policies and ethics