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

Sort by
Title
Sort by
Topic
Sort by
Resource Type
Sorted by
Date
Xcode Unit Testing Guide (HTML) (PDF)
Explains how to incorporate test cases to validate individual units of source code.
Design Guidelines Guides 2008-05-02
CARenderer Class Reference (HTML) (PDF)
Describes an object that draws a layer to a Core Graphics context.
Graphics & Imaging Reference 2008-04-30
CIColorTracking (HTML) (DMG) (ZIP)
An Objective-C applicaton that implements a GPU-based technique to find the location of a uniquely colored object in a scene
Graphics & Imaging Sample Code 2008-04-24
QTCoreVideo101 (HTML) (DMG) (ZIP)
Demonstrates (with very little code) how to render a QuickTime Movie using CoreVideo and OpenGL.
QuickTime Sample Code 2008-04-24
QTKit Frequently Asked Questions (HTML)
TN2138: Provides answers to many frequently asked QTKit questions.
QuickTime Technical Notes 2008-04-24
Xcode Tools for Core Data (HTML) (PDF)
Describes the Xcode modeling tools for Core Data.
Data Management, Tools Guides 2008-04-15
Determining console user login status (HTML)
QA1133: How to determine whether a user is logged in on the console, and be notified of changes.
Process Management Technical Q&As 2008-04-14
View Programming Guide for Cocoa (HTML) (PDF)
Explains how to design and implement Cocoa views in applications.
Graphics & Imaging Guides 2008-04-10
2D Graphics Release Notes for Mac OS X v10.5 (HTML)
Describes the changes and issues related to Core Image and Quartz 2D in Mac OS X v10.5.
Graphics & Imaging Release Notes 2008-04-08
Animation Types and Timing Programming Guide (HTML) (PDF)
Describes the animation and timing classes used by both Core Animation and Cocoa Animation proxies.
Graphics & Imaging Guides 2008-04-08
Disc Recording Framework Reference (HTML)
Describes the Objective-C and C API for burning audio and data CDs and DVDs.
Audio, File Management Reference 2008-04-08
Disc Recording UI Framework Reference (HTML)
Describes the Objective-C and C API for presenting a user interface when burning audio and data CDs and DVDs.
Audio, File Management, User Experience Reference 2008-04-08
IKImageView Class Reference (HTML) (PDF)
Describes the class used to display images efficiently at the same time it supports image editing.
Graphics & Imaging Reference 2008-04-08
Message Framework Reference (HTML)
Describes the Objective-C API for sending email messages through the Mail application.
Apple Applications Reference 2008-04-08
Publication Subscription Framework Reference (HTML)
Describes the Cocoa framework for publishing and subscribing to RSS and Atom feeds.
Internet & Web Reference 2008-04-08
QCCompositionRenderer Protocol Reference (HTML) (PDF)
Describes the methods for passing and retrieving data from the ports of a composition.
Graphics & Imaging Reference 2008-04-08
QCPlugIn Class Reference (HTML) (PDF)
Describes the class used to write custom patches for Quartz Composer.
Graphics & Imaging Reference 2008-04-08
Uniform Type Identifiers Overview (HTML) (PDF)
Describes uniform type identifiers and how to use them.
File Management, Interapplication Communication Guides 2008-04-08
Bonjour Printer Subtype for HTTP (HTML)
QA1555: Describes how printer vendors can register their bonjour service such that Safari can see them.
Networking Technical Q&As 2008-03-25
Drawing attributed strings that are both filled and stroked (HTML)
QA1531: Describes how the value of NSStrokeWidthAttributeName indicates fill, stroke, or both, in attributed strings.
Text & Fonts Technical Q&As 2008-03-25
AbstractTree (HTML) (DMG) (ZIP)
Using NSTreeController with NSOutlineView, Bindings, and Core Data.
Data Management, User Experience Sample Code 2008-03-17
NumberInput_IMKit_Sample (HTML) (DMG) (ZIP)
Illustrates an input method that uses the Mac OS X 10.5 InputMethodKit framework.
Events & Other Input, Internationalization Sample Code 2008-03-17
QTKit Capture - Extracting SMPTE Timecode information from a QTSampleBuffer (HTML)
QA1600: Describes how to use the QTSampleBufferSMPTETimeAttribute with a sample buffer.
QuickTime Technical Q&As 2008-03-17
Quartz Core Framework Reference (HTML) (PDF)
Describes the interfaces for Core Image and Core Video.
Graphics & Imaging Reference 2008-03-12
Accessibility Overview (HTML) (PDF)
Explains how to use the accessibility features built into Mac OS X.
Accessibility Guides 2008-03-11
AppleScript Language Guide (HTML) (PDF)
Defines the AppleScript scripting language. Includes many brief sample scripts.
Scripting & Automation Guides 2008-03-11
CAAnimationGroup Class Reference (HTML) (PDF)
Describes a grouping of multiple animations into a single animation.
Graphics & Imaging Reference 2008-03-11
CAOpenGLLayer Class Reference (HTML) (PDF)
Describes a layer that acts as a target for OpenGL commands.
Graphics & Imaging Reference 2008-03-11
Cocoa Scripting Guide (HTML) (PDF)
Explains how to create scriptable Cocoa applications that use the scripting definition (sdef) format.
Design Guidelines, Scripting & Automation Guides 2008-03-11
Core Animation Cookbook (HTML) (PDF)
Demonstrates common Core Animation tasks.
Graphics & Imaging Guides 2008-03-11
Cursor Management (HTML) (PDF)
Explains how to set the cursor and handle cursor-update events in Cocoa applications.
Events & Other Input, User Experience Guides 2008-03-11
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
NSFontDescriptor Class Reference (HTML) (PDF)
Describes a dictionary that fully specifies a font.
Objective-C Language Reference 2008-03-11
NSPersistentStoreCoordinator Class Reference (HTML) (PDF)
Describes the class used to mediate between persistent stores and managed object contexts in a Core Data application.
Data Management Reference 2008-03-11
NSProgressIndicator Class Reference (HTML) (PDF)
Describes a control that shows that a lengthy task is under way.
User Experience Reference 2008-03-11
NSSearchFieldCell Class Reference (HTML) (PDF)
Describes a search field cell.
User Experience Reference 2008-03-11
NSURLCache Class Reference (HTML) (PDF)
Describes a collection of cached responses and data.
Internet & Web, Networking Reference 2008-03-11
Scripting Bridge Programming Guide for Cocoa (HTML) (PDF)
Describes the Scripting Bridge technology, which bridges OSA-compliant applications to Objective-C, and explains how to use it in Cocoa programs.
Scripting & Automation Guides 2008-03-11
Suppressing the "unexpectedly quit" alert (HTML)
QA1288: Describes how to suppress the "unexpectedly quit" alert.
User Experience Technical Q&As 2008-03-11
CarbonCocoaTempConverter (HTML) (DMG) (ZIP)
Demonstrates how to integrate Carbon and Cocoa user interfaces in the same Cocoa application.
Events & Other Input, User Experience Sample Code 2008-03-10
PhotoSearch (HTML) (DMG) (ZIP)
Demonstrates advanced controls and cells. Custom drawing, hit testing, tracking, editing, expansion tooltips, tracking areas.
Data Management, Events & Other Input, User Experience Sample Code 2008-03-05
SBSendEmail (HTML) (DMG) (ZIP)
Using the Scripting Bridge to tell Mail.app to send an email message with an optional attachment.
Interapplication Communication, Internet & Web, Scripting & Automation Sample Code 2008-02-28
Common mistakes with delegation in Cocoa (HTML)
QA1554: The two most common errors that lead to a delegate method not being received.
Design Guidelines, Objective-C Language Technical Q&As 2008-02-27
Disabling text completion in an NSTextField (HTML)
QA1553: Shows how to implement a delegate method provided by NSControl to disable automatic text completion.
Text & Fonts, User Experience Technical Q&As 2008-02-27
NSDate - Natural language date parsing in early Leopard releases (HTML)
QA1581: Acknowledges a regression in +dateWithNaturalLanguageString: behavior of NSDate which is fixed as of 10.5.2.
User Experience Technical Q&As 2008-02-27
FSMegaInfo (HTML) (DMG) (ZIP)
Prints information about various file system objects; helpful when debugging VFS plug-ins.
File Management Sample Code 2008-02-25
QTCompressionOptionsWindow (HTML) (DMG) (ZIP)
Demonstrates how easy it is to manage QTCompressionOptions instances with a user interface.
QuickTime Sample Code 2008-02-22
Customizing Process Stack Size (HTML)
QA1419: Describes methods for setting the stack size of a process and/or thread.
Process Management, Resource Management Technical Q&As 2008-02-20
Atomic Store Programming Topics (HTML) (PDF)
Describes how to use the Core Data atomic store API to create persistent stores that use a custom format.
Data Management Guides 2008-02-08
Core Data Model Versioning and Data Migration Programming Guide (HTML) (PDF)
Explains the managed object model versioning and data migration features of Core Data.
Data Management Guides 2008-02-08
Font Handling (HTML) (PDF)
Explains the Cocoa font management system and how users select fonts.
Text & Fonts Guides 2008-02-08
Model Object Implementation Guide (HTML) (PDF)
Describes issues relating to the design and implementation of model objects
Design Guidelines Guides 2008-02-08
NSAnimationContext Class Reference (HTML) (PDF)
Describes nested transaction support for animating views.
Graphics & Imaging Reference 2008-02-08
NSConnection Class Reference (HTML) (PDF)
Describes an object that manages communication between objects in different threads.
Interapplication Communication Reference 2008-02-08
NSEntityDescription Class Reference (HTML) (PDF)
Describes the class used to specify entities in a Core Data managed object model.
Objective-C Language Reference 2008-02-08
NSFetchRequest Class Reference (HTML) (PDF)
Describes the class used to describe search criteria used to retrieve data from a persistent store in Core Data.
Data Management Reference 2008-02-08
NSLocale Class Reference (HTML) (PDF)
Describes a locale.
Internationalization, User Experience Reference 2008-02-08
NSLock Class Reference (HTML) (PDF)
Describes a mutex-based lock.
Process Management Reference 2008-02-08
NSMenu Class Reference (HTML) (PDF)
Describes an application menu.
User Experience Reference 2008-02-08
NSMenuItem Class Reference (HTML) (PDF)
Describes a menu item.
User Experience Reference 2008-02-08
NSNumber Class Reference (HTML) (PDF)
Describes a number.
Data Management Reference 2008-02-08
NSPersistentDocument Class Reference (HTML) (PDF)
Describes a document that integrates with the Core Data framework.
Data Management, Design Guidelines Reference 2008-02-08
NSRuleEditor Class Reference (HTML) (PDF)
Describes a graphical rule editor.
User Experience Reference 2008-02-08
NSRunLoop Class Reference (HTML) (PDF)
Describes the object that manages events on a thread.
Events & Other Input, Performance Reference 2008-02-08
NSTimeZone Class Reference (HTML) (PDF)
Describes a time zone.
Data Management, Internationalization Reference 2008-02-08
Number and Value Programming Topics for Cocoa (HTML) (PDF)
Explains how to use Cocoa object wrappers for primitive C data types.
Data Management Guides 2008-02-08
Quick Look Programming Guide (HTML) (PDF)
Describes the purporse and architecture of Quick Look generators and explains how to create them.
User Experience Guides 2008-02-08
Re-enabling dragging from NSTableView to other applications (HTML) (日本語 HTML)
QA1220: Explains how to re-enable drag-and-drop from NSTableViews to other applications
Interapplication Communication, User Experience Technical Q&As 2008-02-08
Search Fields (HTML) (PDF)
Explains how to use Cocoa search fields.
User Experience Guides 2008-02-08
Text Editing Programming Guide for Cocoa (HTML) (PDF)
Explains how to control the behavior of the Cocoa text system as it performs text editing.
Text & Fonts Guides 2008-02-08
Threading Programming Guide (HTML) (PDF)
Explains how to use threads in Cocoa applications.
Performance, Process Management Guides 2008-02-08
OpenGL Filter Basics Cocoa (HTML) (DMG) (ZIP)
How to use Objective-C and MVC design patterns in installing and utilizing filters in an OpenGL rendering pipeline
Games, Graphics & Imaging Sample Code 2008-02-06
Connecting the Font Menu in Interface Builder 3 (HTML)
QA1571: How to connect and configure the Font/Format menus in Interface Builder 3.
Design Guidelines, Text & Fonts, Tools, User Experience Technical Q&As 2008-01-21
Enabling the application menu's "Preferences" menu item on Mac OS X (HTML)
QA1552: Describes the two things you need to implement to enable the "Preferences" menu item on Mac OS X.
User Experience Technical Q&As 2008-01-21
QTAudioContextInsert (HTML) (DMG) (ZIP)
Demonstrates use of Audio Context Insert APIs to perform custom processing on QuickTime's audio stream.
Audio, QuickTime Sample Code 2008-01-21
IconCollection (HTML) (DMG) (ZIP)
Demonstrates how to use NSCollectionView along with NSWorkspace and named images to determine its content.
User Experience Sample Code 2008-01-18
With and Without Bindings (HTML) (DMG) (ZIP)
Illustrates the adoption of Cocoa Bindings and refactoring using a subclass of NSArrayController.
Data Management, Design Guidelines Sample Code 2008-01-04
DictionaryController (HTML) (DMG) (ZIP)
"DictionaryController" is a Cocoa application that demonstrates various ways in how to use the NSDictionaryController class.
Data Management, User Experience Sample Code 2007-12-20
GeekGameBoard (HTML) (DMG) (ZIP)
Shows how to use Core Animation for the user interface of a board or card game.
Games, Graphics & Imaging Sample Code 2007-12-19
How do I get the hexadecimal value of an NSColor object? (HTML)
QA1576: Describes how to convert an NSColor object to its Hexadecimal value.
Graphics & Imaging, Objective-C Language Technical Q&As 2007-12-19
ScriptingBridgeiCal (HTML) (DMG) (ZIP)
Adding/updating events in iCal using Scripting Bridge.
Interapplication Communication, Scripting & Automation Sample Code 2007-12-13
Automator Programming Guide (HTML) (PDF)
Describes the concepts and tasks for developing actions, which are bundles loaded by the Automator application.
Apple Applications, Tools Guides 2007-12-11
Boinx Starts with Sample Code: FotoMagico Is a Powerful Digital Slideshow (HTML)
Starting with Apple sample code, tools and technologies, Boinx wrote FotoMagico in a matter of months.
General, Graphics & Imaging Articles 2007-12-11
CAConstraintLayoutManager Class Reference (HTML) (PDF)
Describes a layout manager that applies a set of constraints to a layer tree.
Graphics & Imaging Reference 2007-12-11
CATextLayer Class Reference (HTML) (PDF)
Describes a layer that draws text.
Graphics & Imaging Reference 2007-12-11
CIFilter Class Reference (HTML) (PDF)
Describes the class that processes image data and produces a Core Image image as output.
Graphics & Imaging Reference 2007-12-11
Core Data Release Notes (HTML)
Describes features, issues, and workarounds related to Mac OS X v10.5 and its support of Core Data.
Data Management, General Release Notes 2007-12-11
Leopard Technology Series for Developers: Graphics & Media Overview (HTML)
Describes Leopard's graphics and media capabilities.
Graphics & Imaging Articles 2007-12-11
Leopard Technology Series for Developers: Objective-C 2.0 Overview (HTML)
Describes features and capabilities introduced in Objective-C 2.0.
Objective-C Language, Tools Articles 2007-12-11
NSAccessibility Protocol Reference (HTML) (PDF)
Describes the interface for receiving accessibility-related messages.
Accessibility Reference 2007-12-11
NSCollectionView Class Reference (HTML) (PDF)
Describes a collection of views that displays content in a grid.
User Experience Reference 2007-12-11
NSObjectController Class Reference (HTML) (PDF)
Describes a Cocoa bindings-compatible manager of an object.
Data Management, Design Guidelines Reference 2007-12-11
NSThread Class Reference (HTML) (PDF)
Describes a thread of execution.
Process Management Reference 2007-12-11
NSURLResponse Class Reference (HTML) (PDF)
Describes the metadata returned by a server for a load request.
Internet & Web, Networking, Objective-C Language Reference 2007-12-11
PDEPanel Protocol Reference (HTML) (PDF)
Describes the informal protocol used to implement custom panes in a printing dialog.
Printing Reference 2007-12-11
PDEPlugIn Protocol Reference (HTML) (PDF)
Describes the informal protocol used to add custom panes to a printing dialog.
Printing Reference 2007-12-11
PDEPlugInCallbackProtocol Reference (HTML) (PDF)
Describes the informal protocol used to access information about the current print job.
Printing Reference 2007-12-11
PDF Kit Programming Guide (HTML) (PDF)
Introduces basic PDF concepts and describes how to use PDF Kit to display PDF documents in your application.
Graphics & Imaging Guides 2007-12-11
PDF Kit Reference Collection (HTML) (PDF)
Describes the Objective-C API for viewing, navigating, and editing PDF content.
Graphics & Imaging Reference 2007-12-11
PDFAction Class Reference (HTML) (PDF)
Describes the class for representing an action in a PDF document.
Graphics & Imaging Reference 2007-12-11