Understanding Cocoa’s Role in Mac OS X

Mac OS X traces its heritage to earlier Mac operating systems and to versions of Unix. Mac OS X melds the two operating systems into one.

Mac OS X uses the layered architecture shown in Figure 1.1. Cocoa is implemented to enable access to all the features of OS X. Cocoa applications can use the Quartz, OpenGL, and QuickTime graphics systems supported by Mac OS X. Cocoa provides high-level, object-oriented components that use Quartz and advanced font rendering capabilities built on top of Quartz. Cocoa objects exist to access OpenGL and QuickTime. Traditional Mac features are accessed through objects that internally use the Carbon API. Cocoa directly uses features provided by Darwin.

Figure 1.1. Mac OS ...

Get Cocoa® Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.