O'Reilly logo

Step into Xcode Mac OS X Development 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

Still in Interface Builder

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 for much of this phase of development. Interface Builder is a powerful tool for storing Cocoa objects and specifying links between them. 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 kind of Nib will be an object of class MyDocument and what the structure of a MyDocument is. We’ll also create additional objects to do most of the work in managing the data in our application.

Arrange the windows of Xcode and Interface ...

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