Chapter 7. A Cocoa Application: Controllers

<feature><title>In This Chapter</title>
  • Interface Builder Builds Controllers

  • Assigning Classes in Interface Builder

  • Connecting Data and Code in Interface Builder

  • Setting Application Properties

</feature>

We’ve drawn and configured our views and are ready to work on the controller layer of our application. Surprisingly, we’ll still be working with Interface Builder (IB) for much of this phase of development. Interface Builder is a powerful tool for storing Cocoa objects and specifying links between them.

The Next Step

You have seen that IB keeps a placeholder for File’s Owner in the NIB window. We’re going to tell Interface Builder that the owner of this particular NIB will be an object of class MyDocument ...

Get Xcode 3 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.