O'Reilly logo

Xcode 3 Unleashed by Fritz Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required