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.
KeywordsAction Method Garbage Collection Text Field Object Instance Main Window
Unable to display preview. Download preview PDF.