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
NSGarbageCollector Class Reference (HTML) (PDF)
Describes the garbage collector.
Objective-C Language Reference 2008-10-15
NSIndexPath Class Reference (HTML) (PDF)
Describes a path to a node in a tree.
Data Management Reference 2008-10-15
NSInvocation Class Reference (HTML) (PDF)
Describes an Objective-C message for use in store-and-forward operations.
Interapplication Communication, Objective-C Language Reference 2008-10-15
NSKeyedArchiver Class Reference (HTML) (PDF)
Describes the facility for encoding objects and scalar values identified by keys.
Data Management Reference 2008-10-15
NSKeyedUnarchiver Class Reference (HTML) (PDF)
Describes an object that extracts the contents of an archive created by the NSKeyedArchiver class.
Data Management Reference 2008-10-15
NSManagedObject Class Reference (HTML) (PDF)
Describes a Core Data model object.
Data Management Reference 2008-10-15
NSManagedObjectContext Class Reference (HTML) (PDF)
Describes the class used to represent a single "object space" in a Core Data application.
Data Management Reference 2008-10-15
NSMatrix Class Reference (HTML) (PDF)
Describes a group of cell objects that work together in various ways.
User Experience Reference 2008-10-15
NSMethodSignature Class Reference (HTML) (PDF)
Describes the types of a method's parameters and return value.
Objective-C Language Reference 2008-10-15
NSMutableParagraphStyle Class Reference (HTML) (PDF)
Describes a mutable paragraph style.
Data Management, Text & Fonts Reference 2008-10-15
NSNetServices and CFNetServices Programming Guide (HTML) (PDF)
Describes how to implement Bonjour in Cocoa or Carbon applications.
Networking Guides 2008-10-15
NSOpenGLPixelFormat Class Reference (HTML) (PDF)
Describes a pixel format for OpenGL rendering.
Graphics & Imaging Reference 2008-10-15
NSPasteboard Class Reference (HTML) (PDF)
Describes a pasteboard.
Interapplication Communication, User Experience Reference 2008-10-15
NSPointerFunctions Class Reference (HTML) (PDF)
Describes callout functions for managing a pointer reference held somewhere else.
Data Management Reference 2008-10-15
NSPopUpButton Class Reference (HTML) (PDF)
Describes a control for displaying pull-down or pop-up lists of items.
User Experience Reference 2008-10-15
NSPopUpButtonCell Class Reference (HTML) (PDF)
Describes a cell used in the display of pull-down or pop-up menus.
User Experience Reference 2008-10-15
NSPredicateEditor Class Reference (HTML) (PDF)
Describes a graphical predicate editor.
Data Management, User Experience Reference 2008-10-15
NSScanner Class Reference (HTML) (PDF)
Describes an object that scans values from a string.
Data Management Reference 2008-10-15
NSSet Class Reference (HTML) (PDF)
Describes an immutable unordered collection of distinct elements.
Data Management Reference 2008-10-15
NSSocketPort Class Reference (HTML) (PDF)
Describes a BSD socket for distributed object connections or raw messaging.
Interapplication Communication, Networking Reference 2008-10-15
NSSound Class Reference (HTML) (PDF)
Describes an object that loads and plays audio files.
Audio, Data Management, Resource Management Reference 2008-10-15
NSStream Class Reference (HTML) (PDF)
Describes an interface for reading and writing data.
Data Management, File Management, Networking Reference 2008-10-15
NSTextInputClient Protocol Reference (HTML) (PDF)
Describes the interface for receiving keyboard input as properly formed text.
Events & Other Input, Text & Fonts Reference 2008-10-15
NSTokenField Class Reference (HTML) (PDF)
Describes a text field that provides tokenized editing.
User Experience Reference 2008-10-15
NSToolbar Class Reference (HTML) (PDF)
Describes a toolbar in a window's title bar.
User Experience Reference 2008-10-15
Quartz Composer Programming Guide (HTML) (PDF)
Describes how to used the framework to load, play, and control compositions.
Graphics & Imaging Guides 2008-10-15
Security Overview (HTML) (PDF)
An introduction to computer security concepts and the security APIs in Mac OS X and iPhone OS.
Security Guides 2008-10-15
String Programming Guide for Cocoa (HTML) (PDF)
Explains how to create, search, concatenate, and draw strings in Cocoa.
Data Management, Text & Fonts Guides 2008-10-15
Text Layout Programming Guide for Cocoa (HTML) (PDF)
Explains how the Cocoa text system lays out text on pages.
Text & Fonts Guides 2008-10-15
WebDataSource Class Reference (HTML) (PDF)
Describes the class for encapsulating web content for display in a web frame view.
User Experience Reference 2008-10-15
WebDocumentView Protocol Reference (HTML) (PDF)
Describes the protocol adopted by document view objects to display data of different MIME types.
User Experience Reference 2008-10-15
WebDownload Class Reference (HTML) (PDF)
Describes the class for providing an authentication sheet before a download begins.
User Experience Reference 2008-10-15
WebHistoryItem Class Reference (HTML) (PDF)
Describes the class for encapsulating information about a visited page.
User Experience Reference 2008-10-15
WebKit Constants Reference (HTML) (PDF)
Describes the types and constants found in the WebKit framework.
User Experience Reference 2008-10-15
WebKit DOM Programming Topics (HTML) (PDF)
Describes how to use JavaScript in web content and WebKit-based applications.
Internet & Web Guides 2008-10-15
WebKit Objective-C Framework Reference (HTML) (PDF)
Describes the Objective-C API used to display web content in windows.
General, User Experience Reference 2008-10-15
WebKit Objective-C Programming Guide (HTML) (PDF)
Explains how to use the WebKit to embed web content in both Cocoa and Carbon applications.
Graphics & Imaging, Internet & Web, User Experience Guides 2008-10-15
WebKit Plug-In Programming Topics (HTML) (PDF)
Explains how to develop and deploy browser plug-ins based on the WebKit architecture.
Internet & Web Guides 2008-10-15
WebPreferences Class Reference (HTML) (PDF)
Describes the class for the preferences you can change per WebView object, such as font, text encoding, and image settings.
User Experience Reference 2008-10-15
Xcode Quick Tour for Mac OS X (HTML) (PDF)
Provides a hands-on introduction to Xcode, Apple's comprehensive suite of software development tools for Mac OS X.
Tools Guides 2008-10-15
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
SBSystemPrefs (HTML) (DMG) (ZIP)
Shows how to use Scripting Bridge to display a preference pane in System Preferences.
Interapplication Communication, Scripting & Automation Sample Code 2008-10-13
CALayerEssentials (HTML) (DMG) (ZIP)
Demonstrates the basics of setting up various Core Animation layers
Graphics & Imaging Sample Code 2008-09-30
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
Disabling Processor Cores on a Multi-Core System (HTML) (日本語 HTML)
QA1141: Describes how to disable processor cores on a multi-core system for testing purposes.
Performance Technical Q&As 2008-09-16
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
Observing Process Lifetimes Without Polling (HTML)
TN2050: Shows a variety of methods to observe process lifetimes without polling.
Process Management Technical Notes 2008-09-10
Event-Driven XML Programming Guide for Cocoa (HTML) (PDF)
Explains how to process XML documents using the Cocoa streaming parser.
Data Management Guides 2008-09-09
Foundation Data Types Reference (HTML) (PDF)
Describes the common data types in the Foundation framework.
Data Management, Objective-C Language Reference 2008-09-09
NSCondition Class Reference (HTML) (PDF)
Describes a pthread-style condition variable and associated mutex lock.
Process Management Reference 2008-09-09
Determining if an application uses Objective-C Garbage Collection (HTML)
QA1599: Shows how to determine if an application or executable is using Objective-C Garbage Collection.
Objective-C Language Technical Q&As 2008-09-08
Expanding Tilde-based paths (HTML)
QA1549: Demonstrates how to resolve tilde-based relevant paths.
File Management Technical Q&As 2008-09-08
Squiggles (HTML) (DMG) (ZIP)
Demonstrates many Cocoa fundamentals in a Document-based Application featuring custom drawing and event-handling.
Design Guidelines, Events & Other Input, Graphics & Imaging, Objective-C Language, User Experience Sample Code 2008-08-29
Getting the pixel data from a CGImage object (HTML)
QA1509: Describes how to access the pixel data of a CGImage object
Games, Graphics & Imaging Technical Q&As 2008-08-27
Gathering all PostScript Printer Descriptions (PPDs) (HTML)
QA1529: Describes a work around for an issue in PMCopyAvailablePPDs on Mac OS X 10.4 and below
Printing Technical Q&As 2008-08-08
Registering and unregistering for sleep and wake notifications (HTML)
QA1340: Explains how applications can register and unregister for sleep and wake notifications on Mac OS X.
Resource Management Technical Q&As 2008-08-08
Requirements for Quartz GL (HTML)
QA1536: Describes the requirements for enabling Quartz GL.
Games, Graphics & Imaging, Performance, User Experience Technical Q&As 2008-08-08
Using QTPixelBufferContextCreate with NewMovieFromProperties (HTML)
QA1443: Discusses using a QuickTime pixel buffer visual context and NewMovieFromProperties to output frames to pixel buffers.
QuickTime Technical Q&As 2008-08-08
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
Image Kit with Core Data (HTML) (DMG) (ZIP)
Using Image Kit's browser view with Core Data content.
Data Management, Graphics & Imaging, User Experience Sample Code 2008-07-25
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
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
Reminders (HTML) (DMG) (ZIP)
Dashboard widget with a plug-in that displays upcoming iCal events, to do items, and calendars.
Objective-C Language Sample Code 2008-07-25
CAMediaTimingFunction Class Reference (HTML) (PDF)
Describes the pacing of an animation as a timing curve.
Graphics & Imaging Reference 2008-07-11
File System Overview (HTML) (PDF)
Conceptual information and guidelines describing the structure and usage of the Mac OS X file system.
File Management Guides 2008-07-11
NSNotificationCenter Class Reference (HTML) (PDF)
Describes an object that synchronously broadcasts notifications.
Events & Other Input Reference 2008-07-11
Audio File Services Reference (HTML) (PDF)
Describes a C programming interface for reading and writing audio files.
Audio Reference 2008-07-08
Runtime Configuration Guidelines (HTML) (PDF)
Conceptual and reference information for dynamically configuring your software.
Design Guidelines Guides 2008-07-08
Foundation Framework Reference (HTML) (PDF)
Describes the Foundation framework API.
General, Objective-C Language Reference 2008-06-27
Core Animation Reference Collection (HTML) (PDF)
Describes the API for Core Animation.
Graphics & Imaging Reference 2008-06-26
Debugging with GDB (HTML)
Open-source document that explains how to use GDB to debug programs.
Tools Guides 2008-06-19
WebResourceLoadDelegate Protocol Reference (HTML) (PDF)
Describes the protocol used to be notified on the progress of loading individual resources.
User Experience Reference 2008-06-19
Apple Human Interface Guidelines (HTML) (PDF)
Introduces the Mac OS X user experience and explains how to design an application for Aqua.
Accessibility, Design Guidelines, User Experience Guides 2008-06-09
Core Image Kernel Language Reference (HTML) (PDF)
Describes the symbols for writing image-processing kernels.
Graphics & Imaging Reference 2008-06-09
Core Image Programming Guide (HTML) (PDF)
Provides an overview and explains how to use and create image filters and image units.
Graphics & Imaging Guides 2008-06-09
Image Kit Programming Guide (HTML) (PDF)
Explains how to support browsing, viewing, editing, and processing images.
Graphics & Imaging Guides 2008-06-09
NSArray Class Reference (HTML) (PDF)
Describes the class used to manage an immutable ordered collection of objects.
Data Management Reference 2008-06-09
NSDatePicker Class Reference (HTML) (PDF)
Describes a control for displaying and editing a date.
User Experience Reference 2008-06-09
NSDatePickerCell Class Reference (HTML) (PDF)
Describes a cell for displaying and editing a date.
User Experience Reference 2008-06-09
NSOpenGLContext Class Reference (HTML) (PDF)
Describes a target for OpenGL commands.
Graphics & Imaging Reference 2008-06-09
NSPropertyListSerialization Class Reference (HTML) (PDF)
Describes the class used to convert property list objects to and from several serialized formats.
Data Management Reference 2008-06-09
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
SpotlightFortunes (HTML) (DMG) (ZIP)
Demonstrates how to provision a Spotlight importer plug-in for a custom UTI, and how to use a NSMetadataQuery with bindings to display live query results in a table view.
File Management, User Experience Sample Code 2008-06-06
NSDictionaryController Class Reference (HTML) (PDF)
Describes a Cocoa bindings-compatible manager of a dictionary.
Data Management, Design Guidelines Reference 2008-06-05
NSDictionaryControllerKeyValuePair Protocol Reference (HTML) (PDF)
Describes the interface for managing key-value pairs used by a dictionary controller.
Data Management Reference 2008-06-05
URL CacheInfo (HTML) (DMG) (ZIP)
Demonstrates resource caching behavior using the Cocoa URL loading system.
Networking, Performance Sample Code 2008-06-05
DerivedProperty (HTML) (DMG) (ZIP)
Illustrates use of Core Data derived properties to make searching against string data more efficient.
Data Management, Performance, Text & Fonts Sample Code 2008-06-04
Getting a Packet Trace (HTML) (日本語 HTML)
QA1176: Lists tools available for looking at the network packets on the wire.
Internet & Web, Networking Technical Q&As 2008-06-03
Mountains (HTML) (DMG) (ZIP)
Demonstrates localization and internationalization techniques and APIs
Internationalization Sample Code 2008-06-02
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
Secure Coding Guide (HTML) (PDF)
Describes techniques to use and factors to consider to make your code more secure from attack.
Security Guides 2008-05-23
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
AlbumToSlideshow (HTML) (DMG) (ZIP)
Demonstrates using CF and NSXML to create Final Cut Pro XML.
Objective-C Language Sample Code 2008-05-15
WhackedTV (HTML) (DMG) (ZIP)
A Cocoa version of the venerable HackTV sample code, demonstrating usage of the Sequence Grabber API's
Audio, QuickTime Sample Code 2008-05-09
NSText Class Reference (HTML) (PDF)
Describes a basic interface for text-bearing objects.
Text & Fonts Reference 2008-05-06
URL Loading System (HTML) (PDF)
Explains how to manipulate URLs and transfer URL contents.
Internet & Web, Networking Guides 2008-05-06
NSCalendarDate Class Reference (HTML) (PDF)
Describes a Gregorian date.
Data Management Reference 2008-05-04
NSCachedURLResponse Class Reference (HTML) (PDF)
Describes a cached response to a URL load request.
Internet & Web, Networking Reference 2008-05-02