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
Sorted by
Topic
Sort by
Resource Type
Sort by
Date
WhackedTV (HTML) (DMG) (ZIP)
A Cocoa version of the venerable HackTV sample code, demonstrating usage of the Sequence Grabber API's
Audio Sample Code 2008-05-09
AbstractTree (HTML) (DMG) (ZIP)
Using NSTreeController with NSOutlineView, Bindings, and Core Data.
Data Management Sample Code 2008-03-17
Apple Applications Schema Reference (HTML) (PDF)
Describes the schemas used by Apple Applications to sync records such as contacts, calendars, and bookmarks.
Data Management Reference 2007-10-31
Archives and Serializations Programming Guide for Cocoa (HTML) (PDF)
Explains how to put Cocoa objects into and remove them from a representation suitable for archiving.
Data Management Guides 2009-02-04
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
Attributed Strings Programming Guide (HTML) (PDF)
Explains how to use attributed strings, which manage attributes of character strings or individual characters.
Data Management Guides 2007-06-04
Binary Data Programming Guide for Cocoa (HTML) (PDF)
Explains how to create and use Cocoa data objects, object-oriented wrappers for byte buffers.
Data Management Guides 2009-05-06
BindingsJoystick (HTML) (DMG) (ZIP)
Illustrates a bindings-enabled subclass of NSView.
Data Management Sample Code 2005-06-01
BOM characters in 'utxt' clipboard flavor (HTML) (日本語 HTML)
QA1221: Explains the use of the BOM character in 'utxt' scrap data
Data Management Technical Q&As 2003-01-20
Bound Button (HTML) (DMG) (ZIP)
Illustrates using Cocoa bindings to bind a button's target and action parameters.
Data Management Sample Code 2007-06-08
Calendar Store Framework Reference (HTML) (PDF)
Describes the Calendar Store framework classes and methods used to access iCal data.
Data Management Reference 2007-07-08
Calendar Store Programming Guide (HTML) (PDF)
Explains how to access iCal data.
Data Management Guides 2007-10-31
CFXML to CFPropertyListRef (and back!) (HTML) (日本語 HTML)
QA1208: Describes to how save and restore a CFPropertyListRef to and from an XML file.
Data Management Technical Q&As 2003-08-29
Collections Programming Topics for Cocoa (HTML) (PDF)
Explains how to group objects in arrays, sets, or dictionaries in Cocoa.
Data Management Guides 2009-02-04
Core Data Framework Reference (HTML) (PDF)
Describes the Objective-C API for the Core Data framework.
Data Management Reference 2007-07-24
Core Data HTML Store (HTML) (DMG) (ZIP)
Implementation of a Core Data atomic store based on HTML tables
Data Management Sample Code 2007-06-01
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
Core Data Overview (HTML)
Describes a roadmap for learning Core Data.
Data Management Getting Started 2009-03-04
Core Data Programming Guide (HTML) (PDF)
Explains how to manage objects using the Core Data framework.
Data Management Guides 2009-03-04
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 Release Notes 2007-12-11
Core Data Snippets (HTML) (PDF)
Snippets of code that you can use when writing a program that uses Core Data.
Data Management Guides 2009-03-04
Core Data Utility Tutorial (HTML) (PDF)
A hands-on guide to creating a command-line utility using low-level features of Core Data.
Data Management Guides 2009-03-04
Core Endian Reference (HTML) (PDF)
Describes the C API for creating and installing callbacks to byte swap custom data.
Data Management Reference 2007-05-29
CoreRecipes (HTML) (DMG) (ZIP)
Demonstrates the use of Core Data (persistency and object-graph management) with a variety of application projects.
Data Management Sample Code 2005-06-01
Creating a Managed Object Model with Xcode (HTML) (PDF)
A tutorial that shows how to create a Core Data managed object model using Xcode.
Data Management Guides 2007-08-07
CustomAtomicStoreSubclass (HTML) (DMG) (ZIP)
Illustrates the implementation of a custom Core Data atomic store.
Data Management Sample Code 2007-06-08
Data Formatting Programming Guide for Cocoa (HTML) (PDF)
Explains how to use Cocoa formatters to create and validate text in text fields and other cells.
Data Management Guides 2008-10-15
Dates and Times Programming Topics for Cocoa (HTML) (PDF)
Explains how to manage Cocoa dates and times.
Data Management Guides 2007-09-04
Departments and Employees (HTML) (DMG) (ZIP)
Source code for NSPersistentDocument Core Data Tutorial.
Data Management Sample Code 2007-05-31
DerivedProperty (HTML) (DMG) (ZIP)
Illustrates use of Core Data derived properties to make searching against string data more efficient.
Data Management Sample Code 2008-06-04
DictionaryController (HTML) (DMG) (ZIP)
"DictionaryController" is a Cocoa application that demonstrates various ways in how to use the NSDictionaryController class.
Data Management Sample Code 2007-12-20
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
File Wrappers with Core Data Documents (HTML) (DMG) (ZIP)
This sample demonstrates how directory file wrappers can be used with NSPersistentDocument.
Data Management Sample Code 2009-04-29
Find By Content Reference (HTML) (PDF)
Deprecated - Describes the legacy C API for performing relevance-ranked searches. Replaced by Search Kit.
Data Management Reference 2006-07-13
Foundation Constants Reference (HTML) (PDF)
Describes constants in the Foundation framework.
Data Management Reference 2009-05-06
Foundation Data Types Reference (HTML) (PDF)
Describes the common data types in the Foundation framework.
Data Management Reference 2008-09-09
Foundation Functions Reference (HTML) (PDF)
Describes Foundation framework functions.
Data Management Reference 2008-10-15
Image Kit with Core Data (HTML) (DMG) (ZIP)
Using Image Kit's browser view with Core Data content.
Data Management Sample Code 2008-07-25
iSpend (HTML) (DMG) (ZIP)
Demonstrates how to incorporate a number of Cocoa Tiger features into a simple application.
Data Management Sample Code 2005-06-01
JDragNDrop (HTML) (DMG) (ZIP)
Deprecated - Demonstrates building a simple view to implement Drag-and-Drop functionality in Cocoa-Java.
Data Management Sample Code 2003-01-14
Key-Value Coding Programming Guide (HTML) (PDF)
Conceptual information about how to access a Cocoa object's values using keys.
Data Management Guides 2009-02-04
Key-Value Observing Programming Guide (HTML) (PDF)
Explains the Cocoa key-value observing protocol.
Data Management Guides 2009-05-06
LSMSmartCategorizer (HTML) (DMG) (ZIP)
Demonstrates the Latent Semantic Mapping (LSM) framework by automatically categorize RSS feeds.
Data Management Sample Code 2007-05-09
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
NewsReader (HTML) (DMG) (ZIP)
Demonstrates use of the Publication Subscription framework to create a simple RSS reader application.
Data Management Sample Code 2007-06-01
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 Reference 2007-04-09
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
NSAttributedString Application Kit Additions Reference (HTML) (PDF)
Describes additions for analyzing and using attributed strings.
Data Management Reference 2007-12-04
NSAttributedString Class Reference (HTML) (PDF)
Describes a character string with attributes.
Data Management Reference 2008-10-15
NSBundle Class Reference (HTML) (PDF)
Describes a collection of resources used in a program.
Data Management Reference 2007-07-19
NSCalendar Class Reference (HTML) (PDF)
Describes a calendar.
Data Management Reference 2009-02-04
NSCalendarDate Class Reference (HTML) (PDF)
Describes a Gregorian date.
Data Management Reference 2008-05-04
NSCharacterSet Class Reference (HTML) (PDF)
Describes a set of Unicode characters used in scanning and searching operations.
Data Management Reference 2008-10-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
NSCoder Application Kit Additions Reference (HTML) (PDF)
Describes additions for converting archived NXColor objects into NSColor objects.
Data 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
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
NSController Class Reference (HTML) (PDF)
Describes the interface for controllers used with Cocoa bindings.
Data Management Reference 2007-04-02
NSCountedSet Class Reference (HTML) (PDF)
Describes an unordered collection of possibly identical elements.
Data Management Reference 2009-05-06
NSData Class Reference (HTML) (PDF)
Describes an immutable byte buffer.
Data Management Reference 2009-05-06
NSDate Class Reference (HTML) (PDF)
Describes a single point in time.
Data Management Reference 2008-10-15
NSDateComponents Class Reference (HTML) (PDF)
Describes the components of a date.
Data Management Reference 2008-10-15
NSDateFormatter Class Reference (HTML) (PDF)
Describes a date formatter.
Data Management Reference 2008-11-19
NSDecimalNumber Class Reference (HTML) (PDF)
Describes a decimal number.
Data Management Reference 2007-10-31
NSDecimalNumberBehaviors Protocol Reference (HTML) (PDF)
Describes the interface for controlling the behavior of NSDecimalNumber objects.
Data Management Reference 2006-05-23
NSDecimalNumberHandler Class Reference (HTML) (PDF)
Describes an object that specifies decimal number rounding and error handling.
Data Management Reference 2007-04-30
NSDictionary Class Reference (HTML) (PDF)
Describes an immutable collection of key-value pairs.
Data Management Reference 2009-04-08
NSDictionaryController Class Reference (HTML) (PDF)
Describes a Cocoa bindings-compatible manager of a dictionary.
Data Management 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
NSEditor Protocol Reference (HTML) (PDF)
Describes the interface used to commit or discard edits.
Data Management Reference 2006-05-23
NSEditorRegistration Protocol Reference (HTML) (PDF)
Describes the interface for receiving uncommitted-change messages from Cocoa bindings-compatible views.
Data Management Reference 2006-05-23
NSEntityMapping Class Reference (HTML) (PDF)
Describes the mapping of an entity in a Core Data migration.
Data Management Reference 2007-05-22
NSEntityMigrationPolicy Class Reference (HTML) (PDF)
Describes the Core Data class used to customize the migration process for an entity mapping.
Data Management Reference 2007-05-22
NSEnumerator Class Reference (HTML) (PDF)
Describes a facility for sequentially returning the elements of a collection.
Data Management Reference 2007-02-23
NSExpression Class Reference (HTML) (PDF)
Describes a predicate expression.
Data Management Reference 2008-10-15
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
NSFetchRequestExpression Class Reference (HTML) (PDF)
Describes a Core Data fetch request as an expression.
Data Management Reference 2006-07-16
NSFileWrapper Class Reference (HTML) (PDF)
Describes a representation of a file-system node.
Data Management Reference 2008-10-15
NSFormatter Class Reference (HTML) (PDF)
Describes the interface for formatter objects.
Data Management Reference 2007-07-09
NSHashTable Class Reference (HTML) (PDF)
Describes a mutable unordered collection of distinct elements that may use weak references.
Data Management Reference 2007-06-26
NSIndexPath Class Reference (HTML) (PDF)
Describes a path to a node in a tree.
Data Management Reference 2008-10-15
NSIndexSet Class Reference (HTML) (PDF)
Describes an immutable collection of unique unsigned integers.
Data Management Reference 2007-03-24
NSInputStream Class Reference (HTML) (PDF)
Describes a read-only data stream.
Data Management Reference 2007-04-05
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
NSKeyValueBindingCreation Protocol Reference (HTML) (PDF)
Describes the interface for managing Cocoa bindings.
Data Management Reference 2007-04-10
NSKeyValueCoding Protocol Reference (HTML) (PDF)
Describes the interface for accessing object properties indirectly by key name or key path.
Data Management Reference 2009-02-04
NSKeyValueObserving Protocol Reference (HTML) (PDF)
Describes the interface for receiving notifications of changes to object properties.
Data Management Reference 2007-10-31
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
NSManagedObjectID Class Reference (HTML) (PDF)
Describes a universal identifier for a managed object.
Data Management Reference 2006-10-09
NSManagedObjectModel Class Reference (HTML) (PDF)
Describes a Core Data schema.
Data Management Reference 2007-01-26
NSMappingModel Class Reference (HTML) (PDF)
Describes the Core Data class used to specify a mapping from one schema to another during migration.
Data Management Reference 2007-05-22
NSMapTable Class Reference (HTML) (PDF)
Describes a collection of key-value pairs that supports weak references.
Data Management Reference 2007-07-22
NSMigrationManager Class Reference (HTML) (PDF)
Describes an object that migrates data from one persistent store to another.
Data Management Reference 2007-05-22