Lights, Camera... Actions! (and Outlets, Too)


It really is amazing all the stuff you get free with Cocoa, as you saw in the last chapter. But there was something very important missing in the last chapter’s application that most applications will need: the ability to interact with the user. When you were in Interface Builder, in the last chapter, you saw that there was a whole library filled with objects like text fields and buttons that you can use to assemble your interface, but those user interface objects are no good if we can’t tell when they’re used or change the data they contain. In this chapter, you’ll see how those objects can be used to let users interact with your application.


Action Method Garbage Collection Text Field Object Instance Main Window 
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.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Jack Nutting, David Mark and Jeff LaMarche 2010

Personalised recommendations