Jump To:
Leopard Reference Library
Cocoa is an object-oriented application environment designed for developing Mac OS X native applications. The Cocoa frameworks support rapid development and high productivity. Cocoa provides developers starting new Mac OS X projects the fastest way to full-featured implementations. Applications from other platforms can also be brought to Mac OS X quickly using Cocoa.

A guided introduction and learning path for developers new to Cocoa.   Essential information for developers using Objective-C.   Objective-C API references organized by framework.
Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Topic
Sort by
Resource Type
Sort by
Date
Mac OS X ABI Function Call Guide (HTML) (PDF)
Describes the function-calling conventions used in the architectures supported by Mac OS X.
Intel-Based Macs Guides 2009-02-04
Mac OS X ABI Mach-O File Format Reference (HTML) (PDF)
Describes the data structures that make up the Mach-O file format.
Runtime Architecture Reference 2009-02-04
Mac OS X Code Signing In Depth (HTML)
TN2206: Intermediate to expert level overview of code signing that details specific options and gotchas
Security Technical Notes 2008-08-06
Mac OS X Printing System Overview (HTML) (PDF)
Introduces Apple's printing architecture. Includes a road map for developing software.
Printing Guides 2006-02-07
Mac OS X Technology Overview (HTML) (PDF)
Introduces Mac OS X and its technologies.
Accessibility Guides 2008-10-15
Mac OS X: v10.1.1 - v10.1.3 (HTML)
TN2043: Describes changes provided by system software updates 10.1.1 through 10.1.3.
Tools Technical Notes 2002-03-06
Making the most of Cocoa bindings in Quartz Composer (HTML)
TN2146: Describes how to best use Cocoa bindings with Quartz Composer.
Graphics & Imaging Technical Notes 2006-03-03
ManagedObjectDataFormatter (HTML) (DMG) (ZIP)
A Data Formatter for Xcode 2.0 and 2.1 that displays NSManagedObject * variables.
Data Management Sample Code 2005-06-01
Managing QTCompressionOptions - An overview of the QTCompressionOptionsWindow sample (HTML)
TN2219: Introductory overview of the QTCompressionOptionsWindow sample demonstrating one way to manage QTCompressionOptions objects.
QuickTime Technical Notes 2008-03-11
MapLargeFile (HTML) (DMG) (ZIP)
Shows a technique for mapping files greater than 4GB into memory for faster access.
Resource Management Sample Code 2003-11-19
MassiveImage (HTML) (DMG) (ZIP)
Shows how to use a CGDataProvider to save a very large image with Image IO
Graphics & Imaging Sample Code 2007-09-27
Matrix Programming Guide for Cocoa (HTML) (PDF)
Explains how to use Cocoa matrices.
User Experience Guides 2006-11-07
Maximizing Mac OS X Application Performance (HTML)
Learn how to achieve better performance on Mac OS X.
Performance Articles 2003-06-23
Memory Management Programming Guide for Cocoa (HTML) (PDF)
Explains how to allocate and deallocate objects in Cocoa.
Design Guidelines, Objective-C Language Guides 2009-05-06
Memory Usage Performance Guidelines (HTML) (PDF)
Guidelines for improving the performance of memory-related code.
Performance Guides 2006-06-28
MenuItemView (HTML) (DMG) (ZIP)
Demonstrates embedding an NSView inside a menu item or NSMenuItem.
User Experience Sample Code 2007-06-11
Message Framework Reference (HTML)
Describes the Objective-C API for sending email messages through the Mail application.
Apple Applications Reference 2008-04-08
MethodReplacement (HTML) (DMG) (ZIP)
Demonstrates an Objective C 2 compatible way to replace a method in an existing Objective C class.
Objective-C Language Sample Code 2006-08-01
Model Object Implementation Guide (HTML) (PDF)
Describes issues relating to the design and implementation of model objects
Design Guidelines Guides 2008-02-08
Monochrome Image (HTML) (DMG) (ZIP)
Applies the NTSC color weighting formula to an image to generate a monochrome version of the image.
Graphics & Imaging Sample Code 2003-07-16
MoreFiles (HTML) (DMG) (ZIP)
Shows various File Manager operations (file copy, etc.) through a collection of high-level routines.
File Management Sample Code 2003-01-14
MoreFilesX (HTML) (DMG) (ZIP)
Deprecated - Shows various File Manager operations through a collection of high-level routines using HFS Plus APIs.
File Management Sample Code 2005-05-13
Moriarity (HTML) (DMG) (ZIP)
Implementing a Cocoa GUI that wraps command-line functionality, calling a UNIX task and presenting the results in a GUI.
Interapplication Communication, Porting Sample Code 2003-01-14
Mountains (HTML) (DMG) (ZIP)
Demonstrates localization and internationalization techniques and APIs
Internationalization Sample Code 2008-06-02
Movie Overlay (HTML) (DMG) (ZIP)
Shows how to overlay text & graphics and perform animation on an QTMovieView through a floating overlay window.
QuickTime Sample Code 2008-07-25
MovieAudioExtraction - Ensure a Movie is fully loaded before starting an extraction session (HTML)
QA1469: Describes the importance of making sure a Movie is fully loaded before extracting audio.
QuickTime Technical Q&As 2006-03-29
Movies - Saving movie playback hints (HTML)
QA1366: Explains how to save and load media play hints from Movie files.
QuickTime Technical Q&As 2004-09-14
MP3 Player (HTML) (DMG) (ZIP)
How to wrap a command-line UNIX/Linux application in a Cocoa GUI, calling a the command-line app through NSTask.
Audio, Interapplication Communication, User Experience Sample Code 2003-01-14
MungSaver (HTML) (DMG) (ZIP)
Demonstrates a simple Screen Saver module for Panther, using the Sequence Grabber DataProc mung technique.
User Experience Sample Code 2003-11-18
MyCustomColorPicker (HTML) (DMG) (ZIP)
Shows how to write a custom color picker using Cocoa.
Graphics & Imaging, User Experience Sample Code 2006-10-09
MyMovieFilter (HTML) (DMG) (ZIP)
How to play a movie into a layer-backed QTMovieView and apply a Core Image filter while the movie plays.
QuickTime Sample Code 2008-06-02
NameAndAddress (HTML) (DMG) (ZIP)
A single window utility that gets a host name from an IP address or an IP address from a hostname.
Apple Applications, Networking Sample Code 2003-01-14
NamingTableAccess (HTML) (DMG) (ZIP)
Digs out the contents of the NamingTable in a TrueType 'sfnt'.
Text & Fonts Sample Code 2003-01-14
NewsReader (HTML) (DMG) (ZIP)
Demonstrates use of the Publication Subscription framework to create a simple RSS reader application.
Data Management, Internet & Web, Networking Sample Code 2007-06-01
Notification Programming Topics for Cocoa (HTML) (PDF)
Explains how to send and receive information about events in Cocoa programs.
Design Guidelines, Events & Other Input Guides 2007-05-03
NSAccessibility Protocol Reference (HTML) (PDF)
Describes the interface for receiving accessibility-related messages.
Accessibility Reference 2007-12-11
NSActionCell Class Reference (HTML) (PDF)
Describes the interface for the active area in a control.
User Experience Reference 2007-02-28
NSAffineTransform Additions Reference (HTML) (PDF)
Describes additions to support affine transformations.
Graphics & Imaging Reference 2007-02-28
NSAffineTransform Class Reference (HTML) (PDF)
Describes an affine transformation from one coordinate space to another.
Graphics & Imaging Reference 2007-01-15
NSAlert Class Reference (HTML) (PDF)
Describes a window that displays a message and obtains the user's response to it.
Events & Other Input, Graphics & Imaging, User Experience Reference 2007-04-25
NSAnimatablePropertyContainer Protocol Reference (HTML) (PDF)
Describes the interface for an animatable proxy for views and windows.
Graphics & Imaging Reference 2009-05-06
NSAnimation Class Reference (HTML) (PDF)
Describes the behavior of an animation.
Games, Graphics & Imaging, User Experience Reference 2007-10-31
NSAnimationContext Class Reference (HTML) (PDF)
Describes nested transaction support for animating views.
Graphics & Imaging Reference 2008-02-08
NSAppleEventDescriptor Class Reference (HTML) (PDF)
Describes the class used to access the basic data structures in an Apple event.
Scripting & Automation Reference 2007-04-10
NSAppleEventManager Class Reference (HTML) (PDF)
Describes the class used to work with Apple event handler routines and to suspend and resume event handling.
Scripting & Automation Reference 2006-05-23
NSAppleScript Additions Reference (HTML) (PDF)
Describes additions to the NSAppleScript class to provide syntax-highlighted script source.
Scripting & Automation Reference 2006-05-23
NSAppleScript Class Reference (HTML) (PDF)
Describes the class that provides the ability to load, compile, and execute scripts.
Scripting & Automation Reference 2007-07-10
NSApplication Class Reference (HTML) (PDF)
Describes the responder object that manages an application's events and resources.
Runtime Architecture Reference 2009-02-04
NSArchiver Class Reference (HTML) (PDF)
Describes a class that encodes objects into an architecture-independent format.
Data Management Reference 2006-05-23
NSArray Class Reference (HTML) (PDF)
Describes the class used to manage an immutable ordered collection of objects.
Data Management Reference 2008-06-09
NSArrayController Class Reference (HTML) (PDF)
Describes a Cocoa bindings-compatible manager of an array or set.
Data Management, Design Guidelines Reference 2007-04-09
NSAssertionHandler Class Reference (HTML) (PDF)
Describes the facility for handling false assertions.
Performance Reference 2007-02-22
NSAtomicStore Class Reference (HTML) (PDF)
Describes a Core Data atomic persistent store.
Data Management Reference 2008-10-15
NSAtomicStoreCacheNode Class Reference (HTML) (PDF)
Describes a node in an atomic persistent store.
Data Management Reference 2006-10-09
NSATSTypesetter Class Reference (HTML) (PDF)
Describes a typesetter that places glyphs for text layout.
Text & Fonts Reference 2009-03-04
NSAttributeDescription Class Reference (HTML) (PDF)
Describes the class used to define attributes of an entity in a Core Data managed object model.
Objective-C Language Reference 2007-10-31
NSAttributedString Application Kit Additions Reference (HTML) (PDF)
Describes additions for analyzing and using attributed strings.
Data Management, Text & Fonts Reference 2007-12-04
NSAttributedString Class Reference (HTML) (PDF)
Describes a character string with attributes.
Data Management, Text & Fonts Reference 2008-10-15
NSAutoreleasePool Class Reference (HTML) (PDF)
Describes the interface to the deferred-release mechanism in Cocoa's reference-counted memory management system.
Objective-C Language, Performance Reference 2009-01-02
NSBezierPath Class Reference (HTML) (PDF)
Describes a vector-based path consisting of line and curve segments.
Graphics & Imaging Reference 2007-03-02
NSBitmapImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from bitmap data.
Graphics & Imaging Reference 2009-01-06
NSBox Class Reference (HTML) (PDF)
Describes a view that can display its border and a title.
Graphics & Imaging, Printing, User Experience Reference 2008-10-15
NSBrowser Class Reference (HTML) (PDF)
Describes a control for manipulating one- or two-dimensional data sets.
Events & Other Input, User Experience Reference 2007-04-05
NSBrowserCell Class Reference (HTML) (PDF)
Describes a cell that displays data in a browser.
User Experience Reference 2007-04-01
NSBundle Additions Reference (HTML) (PDF)
Describes additions for loading nib files in Cocoa applications.
Resource Management Reference 2007-07-19
NSBundle Class Reference (HTML) (PDF)
Describes a collection of resources used in a program.
Data Management, Internationalization, Resource Management Reference 2007-07-19
NSButton Class Reference (HTML) (PDF)
Describes a control that responds to clicks.
Events & Other Input, User Experience Reference 2007-04-01
NSButtonCell Class Reference (HTML) (PDF)
Describes a cell that responds to mouse clicks.
Events & Other Input, User Experience Reference 2009-04-08
NSCachedImageRep Class Reference (HTML) (PDF)
Describes cached image data that is ready to be rendered.
Graphics & Imaging Reference 2007-01-15
NSCachedURLResponse Class Reference (HTML) (PDF)
Describes a cached response to a URL load request.
Internet & Web, Networking Reference 2008-05-02
NSCalendar Class Reference (HTML) (PDF)
Describes a calendar.
Data Management, Internationalization Reference 2009-02-04
NSCalendarDate Class Reference (HTML) (PDF)
Describes a Gregorian date.
Data Management Reference 2008-05-04
NSCell Class Reference (HTML) (PDF)
Describes the interface for cell objects.
User Experience Reference 2009-02-04
NSChangeSpelling Protocol Reference (HTML) (PDF)
Describes the interface for correcting a misspelled word.
Text & Fonts Reference 2006-05-23
NSCharacterSet Class Reference (HTML) (PDF)
Describes a set of Unicode characters used in scanning and searching operations.
Data Management Reference 2008-10-15
NSCIImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from a Core Image CIImage instance.
Graphics & Imaging Reference 2007-01-15
NSClassDescription Class Reference (HTML) (PDF)
Describes the interface for information about the relationships and properties of a class.
Data Management Reference 2006-05-23
NSClipView Class Objective-C Reference (HTML) (PDF)
Describes the class that contains and scrolls the document view of a scroll view.
Graphics & Imaging Reference 2006-05-23
NSCloneCommand Class Reference (HTML) (PDF)
Describes the class used to clone a scriptable object or objects.
Scripting & Automation Reference 2006-05-23
NSCloseCommand Class Reference (HTML) (PDF)
Describes the class used to close a scriptable object or objects--typically a document or window.
Scripting & Automation Reference 2006-06-28
NSCoder Application Kit Additions Reference (HTML) (PDF)
Describes additions for converting archived NXColor objects into NSColor objects.
Data Management, Resource Management Reference 2006-05-23
NSCoder Class Reference (HTML) (PDF)
Describes the abstract class that provides the basis for archiving.
Data Management Reference 2006-07-23
NSCoding Protocol Reference (HTML) (PDF)
Describes the interface for archiving.
Data Management Reference 2006-05-23
NSCollectionView Class Reference (HTML) (PDF)
Describes a collection of views that displays content in a grid.
User Experience Reference 2007-12-11
NSCollectionViewItem Class Reference (HTML) (PDF)
Describes a controller that mediates between a prototype view and a model object.
User Experience Reference 2006-12-28
NSColor Class Reference (HTML) (PDF)
Describes a representation of color and opacity.
Graphics & Imaging Reference 2009-01-06
NSColorList Class Reference (HTML) (PDF)
Describes an ordered list of colors identified by keys.
Graphics & Imaging Reference 2007-02-28
NSColorPanel Class Reference (HTML) (PDF)
Describes the standard panel used for color selection.
Graphics & Imaging Reference 2007-02-28
NSColorPicker Class Reference (HTML) (PDF)
Describes the interface for custom views in a color panel used for color selection.
Graphics & Imaging, User Experience Reference 2007-02-28
NSColorPickingCustom Protocol Reference (HTML) (PDF)
Describes the interface for receiving custom color-picker user-interface requests.
Graphics & Imaging, User Experience Reference 2007-04-01
NSColorPickingDefault Protocol Reference (HTML) (PDF)
Describes the interface for receiving basic color-picker user-interface requests.
Graphics & Imaging, User Experience Reference 2007-04-27
NSColorSpace Class Reference (HTML) (PDF)
Describes a representation of a system or custom color space.
Graphics & Imaging Reference 2007-02-28
NSColorWell Class Reference (HTML) (PDF)
Describes a control for displaying and selecting colors.
Graphics & Imaging, User Experience Reference 2007-02-28
NSComboBox Class Reference (HTML) (PDF)
Describes a control for entering text or selecting from a pop-up list of items.
User Experience Reference 2006-05-23
NSComboBoxCell Class Reference (HTML) (PDF)
Describes the text field that provides the user interface for NSComboBox objects.
User Experience Reference 2006-05-23
NSComboBoxCellDataSource Protocol Reference (HTML) (PDF)
Describes the interface for receiving data requests from an NSComboBoxCell object.
User Experience Reference 2006-05-23
NSComboBoxDataSource Protocol Reference (HTML) (PDF)
Describes the interface for receiving data requests from an NSComboBox object.
User Experience Reference 2006-05-23
NSComparisonMethods Protocol Reference (HTML) (PDF)
Describes the interface for default comparison methods in the NSSpecifierTest class.
Scripting & Automation Reference 2006-05-23
NSComparisonPredicate Class Reference (HTML) (PDF)
Describes the class used to define a predicate used to compare the results of two expressions.
Data Management Reference 2007-04-30
NSCompoundPredicate Class Reference (HTML) (PDF)
Describes a representation of logical gate and comparison operations.
Data Management Reference 2006-07-04