mac_ch2.eps
co_bar.eps

Chapter 2: Think Cocoa!

mac_chbox2.eps

In This Chapter

Designing with Cocoa

Creating Cocoa applications

Moving to Cocoa and Objective-C from other platforms

Although it's possible to learn Cocoa by rote, laboriously listing its objects and trying to memorize their key properties and code interfaces, Cocoa comes alive when you understand its design principles in a more open way. Some of these principles derive from Objective-C. Others are related to Aqua — the OS X look and feel built on top of Cocoa — and are described in more detail later in this chapter. It's much easier to master Cocoa by understanding its design philosophy and filling in coding details, as needed, than by working backward from Cocoa code examples.

Designing for Cocoa

Apple products emphasize creative design; a successful design includes the following three elements:

bl.eps Outstanding aesthetics. Applications should look inspiring and attractive, and users should feel curious and fascinated as soon as they see the interface. But design should enhance features without overpowering them.

A sense of fun and creative possibility. ...

Get Cocoa® now with O’Reilly online learning.

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