O'Reilly logo

Cocoa® by Richard Wentk

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

mac_ch6.eps
co_bar.eps

Chapter 6: Getting Started With Classes and Messages in Application Design

mac_chbox6.eps

In This Chapter

Understanding the Cocoa development process

Understanding applications

Discovering object methods and properties

Creating subclasses

Introducing Code Sense

Receiving messages from OS X with a delegate

Receiving messages from OS X with NSResponder

Although Cocoa and Xcode both use Objective-C, having a theoretical understanding of classes isn't enough to work with them effectively. Essential practical skills include:

bl.eps Understanding the structure of a Cocoa application.

bl.eps Finding the right Cocoa object to solve a problem or implement a feature.

bl.eps Translating the Cocoa documentation into working code.

bl.eps Using Xcode and Interface Builder to add, release, and manage application objects.

Understanding ...

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