Appendix C. The Cocoa API for OpenGL Configuration in Leopard, Mac OS X 10.5

Cocoa, also known as AppKit, is the Objective-C API for writing modern Mac OS X applications. Cocoa provides a high-level, object-oriented set of classes and interfaces for the OpenGL subsystem and for user–interface interaction. Cocoa is the modern successor to the NextStep API from NeXT Computer; the company’s initials explain the “NS” prefix on all of the class definitions and data types. Cocoa provides a more object-oriented API than any other option on the Mac, which is useful for building UIs, handling events, and functioning as an interface to OpenGL.

We presume you’re reading this appendix with a fundamental understanding of the Objective-C language and basic ...

Get OpenGL Programming on Mac OS X: Architecture, Performance, and Integration 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.