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
PDFActionURL Class Reference (HTML) (PDF)
Describes the class for managing the URL associated with a URL action.
Graphics & Imaging Reference 2007-12-11
PDFAnnotation Class Reference (HTML) (PDF)
Describe the class for creating and managing annotations in PDF documents.
Graphics & Imaging Reference 2007-12-11
PDFAnnotationButtonWidget Class Reference (HTML) (PDF)
Describes the class for manipulating button annotations in PDF documents.
Graphics & Imaging Reference 2007-12-11
PDFAnnotationChoiceWidget Class Reference (HTML) (PDF)
Describes the class for manipulating pop-up menu and list annotations in a PDF document.
Graphics & Imaging Reference 2007-12-11
PDFAnnotationCircle Class Reference (HTML) (PDF)
Describes the class for manipulating circle annotations in PDF documents.
Graphics & Imaging Reference 2006-05-23
PDFAnnotationFreeText Class Reference (HTML) (PDF)
Describes the class for manipulating free text annotations in PDF documents.
Graphics & Imaging Reference 2007-12-11
PDFAnnotationInk Class Reference (HTML) (PDF)
Describes the class for manipulating ink annotations in PDF documents.
Graphics & Imaging Reference 2006-05-23
PDFAnnotationLine Class Reference (HTML) (PDF)
Describes the class for manipulating line annotations in PDF documents.
Graphics & Imaging Reference 2007-12-11
PDFAnnotationLink Class Reference (HTML) (PDF)
Describes the class for manipulating link annotations in PDF documents.
Graphics & Imaging Reference 2006-05-23
PDFAnnotationMarkup Class Reference (HTML) (PDF)
Describes the class for manipulating markup annotations (highlighting, underlining, and so on) in PDF documents.
Graphics & Imaging Reference 2006-05-23
PDFAnnotationPopup Class Reference (HTML) (PDF)
Describes the class for manipulating pop-up menu annotations in a PDF document.
Graphics & Imaging Reference 2007-12-11
PDFAnnotationSquare Class Reference (HTML) (PDF)
Describes the class for manipulating square annotations in PDF documents.
Graphics & Imaging Reference 2006-05-23
PDFAnnotationStamp Class Reference (HTML) (PDF)
Describes the class for displaying content to look as if it is "stamped" onto a PDF page.
Graphics & Imaging Reference 2007-12-11
PDFAnnotationText Class Reference (HTML) (PDF)
Describes the class for manipulating text annotations in PDF documents.
Graphics & Imaging Reference 2007-12-11
PDFAnnotationTextWidget Class Reference (HTML) (PDF)
Describes the class for manipulating editable text fields in PDF documents.
Graphics & Imaging Reference 2007-12-11
PDFBorder Class Reference (HTML) (PDF)
Describes the class for creating and manipulating borders around annotations in PDF documents.
Graphics & Imaging Reference 2006-05-23
PDFDestination Class Reference (HTML) (PDF)
Describes the class for describing specific destinations in PDF documents.
Graphics & Imaging Reference 2007-12-11
PDFDocument Class Reference (HTML) (PDF)
Describes the class for creating and manipulating PDF files.
Graphics & Imaging Reference 2007-12-11
PDFKitLinker2 (HTML) (DMG) (ZIP)
Demonstrates many aspects of PDFKit including navigation, display modes, searching, and PDFView subclassing.
Graphics & Imaging Sample Code 2005-08-10
PDFOutline Class Reference (HTML) (PDF)
Describes the class for creating and manipulating structure outlines in PDF documents.
Graphics & Imaging Reference 2007-12-11
PDFPage Class Reference (HTML) (PDF)
Describes the class for handling specific pages in PDF documents.
Graphics & Imaging Reference 2007-12-11
PDFThumbnailView Class Reference (HTML) (PDF)
Describes the class for managing the thumbnail view in a PDF document.
Graphics & Imaging Reference 2007-12-11
PDFView (HTML) (DMG) (ZIP)
Shows how to display or print a multi-page PDF document and scroll an NSscrollview's contents by dragging.
Graphics & Imaging Sample Code 2003-01-23
People (HTML) (DMG) (ZIP)
This program demonstrates the use of the SyncServices framework.
Data Management, Syncing Sample Code 2005-06-01
Performance Overview (HTML) (PDF)
Introduces the factors that determine performance.
Performance Guides 2006-10-03
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
PictureSharing (HTML) (DMG) (ZIP)
Demonstrates how to use NSNetServices to advertise a service using Bonjour.
Networking Sample Code 2005-02-08
PictureSharingBrowser (HTML) (DMG) (ZIP)
Demonstrates how to use NSNetServices to take advantage of Bonjour service discovery and name resolution.
Networking Sample Code 2005-02-08
PictureTaker (HTML) (DMG) (ZIP)
Demonstrates the PictureTaker in a basic Cocoa application
Graphics & Imaging Sample Code 2007-04-02
PMPrinterTest (HTML) (DMG) (ZIP)
Demonstrates using the PMPrinter APIs to obtain information about the connected printers.
Printing Sample Code 2009-02-13
Polygons (HTML) (DMG) (ZIP)
Demonstrates the NSBezierPath class, as well as the manipulation of NSView's coordinate space for convenience.
Graphics & Imaging Sample Code 2003-01-14
Porting Multithreaded Applications from Win32 to Mac OS X (HTML)
Learn how Mac OS X handles multithreading, before porting your Win32 application.
Performance, Porting, Process Management Articles 2005-06-20
PortMapper (HTML) (DMG) (ZIP)
Demonstrates Bonjour's NAT port-mapping API, and provides a higher-level Objective-C interface to it.
Networking Sample Code 2008-07-25
Power Management; Policy Maker vs. Power Controller (HTML) (日本語 HTML)
QA1121: Describes the differences between a Power Management Policy Maker and a Power Management Power Controller.
Events & Other Input Technical Q&As 2002-02-13
PPPoE Server for Testing (HTML) (日本語 HTML)
QA1252: Describes how to configure Mac OS X as a PPPoE server for testing purposes.
Networking Technical Q&As 2003-04-11
Predicate Programming Guide (HTML) (PDF)
Describes how to specify queries in Cocoa.
Data Management, Design Guidelines Guides 2009-05-06
PredicateEditorSample (HTML) (DMG) (ZIP)
Demonstrates how to use the NSPredicateEditor class.
User Experience Sample Code 2007-06-06
Preference Panes (HTML) (PDF)
Explains how to create dynamically loaded plug-ins that provide a graphical interface to user preferences.
User Experience Guides 2006-10-03
Preference Panes Framework Reference (HTML) (PDF)
Describes the Objective-C API for supporting and working with preference panes.
General, User Experience Reference 2006-05-23
Preference Panes Reference Update (HTML) (PDF)
Summarizes the symbols added to the Preference Panes framework.
User Experience Release Notes 2007-07-18
PrefsPane (HTML) (DMG) (ZIP)
A Cocoa sample System Preferences bundle that demonstrates how to use the NSPreferencePane class.
Data Management, Design Guidelines, User Experience Sample Code 2007-06-06
PreLoginAgents (HTML) (DMG) (ZIP)
Pre-login launchd agents to display UI using AppKit and HIToolbox.
Process Management Sample Code 2007-10-26
Preventing column reordering in NSTableView (HTML)
QA1503: Demonstrates how to prevent column reordering of certain columns in NSTableView.
User Experience Technical Q&As 2007-01-24
Preventing crashes when using multiple disabled but editable NSComboBoxes (HTML) (日本語 HTML)
QA1142: How to prevent a crash when using multiple disabled -- but editable --NSComboBoxes in a view.
User Experience Technical Q&As 2002-06-03
Preventing sleep (HTML)
QA1160: Explains how your application can prevent the system from sleeping.
Resource Management Technical Q&As 2004-10-22
Printing Programming Topics for Cocoa (HTML) (PDF)
Explains how to support printing in Cocoa applications.
Graphics & Imaging, Printing Guides 2006-06-28
Problems getting Bonjour TXT record information (HTML)
QA1389: Explains why you might have problems retrieving TXT record information from a CFNetServiceRef or NSNetService.
Networking Technical Q&As 2005-07-06
Programmatically Accessing and Manipulating Multiple Keychain Items (HTML)
QA1486: An explanation on what is and is not possible using the SecKeychain API to manipulate Keychain Items.
Security Technical Q&As 2006-10-03
Programmatically causing restart, shutdown and/or logout (HTML) (日本語 HTML)
QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.
Events & Other Input, Process Management, Resource Management Technical Q&As 2008-09-24
Progress Indicators (HTML) (PDF)
Explains how to use Cocoa progress indicators.
User Experience Guides 2002-11-12
Property List Programming Guide (HTML) (PDF)
Explains how to use structured, textual representations of data in Cocoa.
Data Management Guides 2008-11-19
Providing PDF Workflow Options in the Print Dialog (HTML) (PDF)
Installation information and examples, including the use of Automator workflows.
Printing Guides 2007-10-31
Public UTIs supported by Mac OS X v10.3 (HTML)
QA1406: Lists the public UTIs (Uniform Type Identifiers) used by the Pasteboard in Mac OS X v10.3.
Interapplication Communication Technical Q&As 2005-02-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
QCComposition Class Reference (HTML) (PDF)
Describes the class that represents a Quartz Composer composition.
Graphics & Imaging Reference 2007-06-26
QCCompositionParameterView Class Reference (HTML) (PDF)
Describes the class used to edit the input parameters of a composition in a view.
Graphics & Imaging Reference 2007-05-09
QCCompositionParameterViewDelegate Protocol Reference (HTML) (PDF)
Describes the protocol for responding to changes in a QCCompositionParameterView object.
Graphics & Imaging Reference 2007-05-09
QCCompositionPickerPanel Class Reference (HTML) (PDF)
Describes the class used to display a utility window for browsing and selecting a composition.
Graphics & Imaging Reference 2007-05-09
QCCompositionPickerView Class Reference (HTML) (PDF)
Describes the class used to display a view for browsing and selecting a composition.
Graphics & Imaging Reference 2007-05-09
QCCompositionPickerViewDelegate Protocol Reference (HTML) (PDF)
Describes the protocol for responding to changes in a QCCompositionPickerView object.
Graphics & Imaging Reference 2007-05-09
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
QCCompositionRepository Class Reference (HTML) (PDF)
Describes the class that represents a system-wide, central repository of Quartz Composer compositions.
Graphics & Imaging Reference 2007-05-09
QCFundamentals (HTML) (DMG) (ZIP)
Demonstrates Coordinate, Interpolation, and Iterative systems in Quartz Composer with an amusing animation
Graphics & Imaging Sample Code 2006-08-07
QCGalaxy (HTML) (DMG) (ZIP)
Demonstrates use of Particle Systems and Core Image Filters in Quartz Composer
Graphics & Imaging Sample Code 2006-08-07
QCPlugIn Class Reference (HTML) (PDF)
Describes the class used to write custom patches for Quartz Composer.
Graphics & Imaging Reference 2008-04-08
QCPlugInContext Protocol Reference (HTML) (PDF)
Describes the protocol used by execution contexts.
Graphics & Imaging Reference 2007-05-09
QCPlugInInputImageSource Protocol Reference (HTML) (PDF)
Describes the methods for managing image data that's input to a QCPlugIn object.
Graphics & Imaging Reference 2007-07-12
QCPlugInOutputImageProvider Protocol Reference (HTML) (PDF)
Describes the methods for managing image data that's produced as output from a QCPlugIn object.
Graphics & Imaging Reference 2007-05-09
QCPlugInViewController Class Reference (HTML) (PDF)
Describes the class that provides a controller object for a user interface to edit the settings for a QCPlugIn object.
Graphics & Imaging Reference 2007-05-09
QCRenderer Class Reference (HTML) (PDF)
Describes the class used to load, play, and control a Quartz Composer composition to an arbitrary OpenGL context.
Graphics & Imaging Reference 2007-05-09
QCView Class Reference (HTML) (PDF)
Describes the class used to load, play, and control a Quartz Composer composition to a custom NSView object.
Graphics & Imaging Reference 2007-05-09
QLPreviewRequest Reference (HTML) (PDF)
Describes an opaque type for handling requests for Quick Look document previews.
User Experience Reference 2007-04-20
QLThumbnailRequest Reference (HTML) (PDF)
Describes an opaque type for handling requests for Quick Look thumbnail images.
User Experience Reference 2007-10-31
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
QTAudioExtractionPanel (HTML) (DMG) (ZIP)
Enhances the QTKitPlayer to add an Audio Channel Mapping and Extraction panel
QuickTime Sample Code 2005-06-27
QTCaptureAudioPreviewOutput Class Reference (HTML) (PDF)
Describes an output destination used to preview audio being captured.
QuickTime Reference 2009-04-08
QTCaptureDevice Class Reference (HTML) (PDF)
Describes an object that represents a connected physical media capture device, such as a camera or microphone.
QuickTime Reference 2009-05-06
QTCaptureDeviceInput Class Reference (HTML) (PDF)
Describes a wrapper for a QTCaptureDevice object.
QuickTime Reference 2009-04-08
QTCaptureInput Class Reference (HTML) (PDF)
Describes an input source connection for a capture session object.
QuickTime Reference 2009-04-08
QTCaptureOutput Class Reference (HTML) (PDF)
Describes the interface for connecting capture output destinations to a capture session object.
QuickTime Reference 2009-03-04
QTCaptureVideoPreviewOutput Class Reference (HTML) (PDF)
Describes an object for previewing a video stream that is being captured.
QuickTime Reference 2009-03-04
QTCaptureView Class Reference (HTML) (PDF)
Describes a view that displays a video preview of a capture session.
QuickTime Reference 2009-04-08
QTCompressionOptionsWindow (HTML) (DMG) (ZIP)
Demonstrates how easy it is to manage QTCompressionOptions instances with a user interface.
QuickTime Sample Code 2008-02-22
QTCoreImage101 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using Core Image filters and the new video pipeline.
Graphics & Imaging, QuickTime Sample Code 2005-07-19
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
QTCoreVideo102 (HTML) (DMG) (ZIP)
An application demonstrating the use of QTKit, CoreVdeo, and OpenGL.
Graphics & Imaging, QuickTime Sample Code 2008-06-06
QTCoreVideo103 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL texture range and the Core Video pixel buffer pipeline.
Graphics & Imaging, QuickTime Sample Code 2008-06-06
QTCoreVideo201 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL FBO and the Core Video texture pipeline.
Graphics & Imaging, QuickTime Sample Code 2008-06-06
QTCoreVideo202 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL PBO and the Core Video pixel buffer pipeline.
Graphics & Imaging, QuickTime Sample Code 2009-04-07
QTCoreVideo301 (HTML) (DMG) (ZIP)
Demonstrates adding of effects & filters to QuickTime Movies in realtime using GLSL shaders and the Core Video texture pipeline.
Graphics & Imaging, QuickTime Sample Code 2009-04-07
QTDataReference Class Reference (HTML) (PDF)
Describes the location of a QuickTime movie or other media data.
QuickTime Reference 2009-04-08
QTEffectsDialog - Cocoa (HTML) (DMG) (ZIP)
Shows how to display the standard QuickTime effects parameters dialog in a Cocoa application.
QuickTime Sample Code 2003-09-04
QTExtractAndConvertToAIFF (HTML) (DMG) (ZIP)
Demonstrates using MovieAudioExtraction and an AudioConverter to extract and convert audio to a AIFF file.
QuickTime Sample Code 2006-11-08
QTExtractAndConvertToMovieFile (HTML) (DMG) (ZIP)
Demonstrates using MovieAudioExtraction and an AudioConverter to extract and convert audio to a QuickTime movie file.
QuickTime Sample Code 2006-11-08
QTGraphicsImport (HTML) (DMG) (ZIP)
Demonstrates how to use the QuickTime Graphics Importer to draw an image into a NSWindow using a NSQuickDrawView.
QuickTime Sample Code 2003-01-14
QTKit Capture - Disabling Audio Or Video When Capturing From a Muxed Device (HTML)
QA1607: Describes the use of the setEnabled: method to disable audio or video capture from muxed devices.
QuickTime Technical Q&As 2008-05-19
QTKit Capture - Disabling specific audio channels when recording (HTML)
QA1617: Describes how to disable specific audio channels when recording using QTKit Capture.
QuickTime Technical Q&As 2008-10-13
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
QTKit Capture - Video Compression Options And Preview (HTML)
QA1583: Describes how video compression options may influence the resolution of previewed video.
QuickTime Technical Q&As 2008-09-16
QTKit Capture Programming Guide (HTML) (PDF)
Describes how to capture media and output it QuickTime movies.
QuickTime Guides 2007-10-31