Jump To:
The Reference Library is a comprehensive collection of Apple technical resources, including Articles, Guides, Reference, Release Notes, Sample Code, Technical Notes, and Technical Q&As. Each of the links below leads to the resources for a specific topic.

Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Topic
Sort by
Resource Type
Sort by
Date
Cross-Development Programming Guide (HTML) (PDF)
Explains how to build software for versions of Mac OS X other than the one the development tools are running on.
Cocoa Guides 2006-11-07
CrossEvents (HTML) (DMG) (ZIP)
Demonstrates how to send CarbonEvents and NSNotifications between Carbon and Cocoa.
Cocoa Sample Code 2007-05-31
Cryptographic Message Syntax Services Reference (HTML) (PDF)
Describes the API for encrypting, signing, and decoding messages using Cryptographic Message Syntax (CMS).
Cocoa Reference 2007-10-31
CryptoSample (HTML) (DMG) (ZIP)
Contains sample code showing symmetric encryption and message digest calculation.
Cocoa Sample Code 2003-02-06
CTMClip (HTML) (DMG) (ZIP)
Deprecated - Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing with clipping.
Cocoa Sample Code 2003-01-14
CTMDemo (HTML) (DMG) (ZIP)
Deprecated - Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing without clipping.
Cocoa Sample Code 2003-01-14
CubePuzzle (HTML) (DMG) (ZIP)
Models a Rubik's Cube using Cocoa and OpenGL
Cocoa Sample Code 2003-04-21
Cursor Management (HTML) (PDF)
Explains how to set the cursor and handle cursor-update events in Cocoa applications.
Cocoa Guides 2008-03-11
CustomAtomicStoreSubclass (HTML) (DMG) (ZIP)
Illustrates the implementation of a custom Core Data atomic store.
Cocoa Sample Code 2007-06-08
Customizing Process Stack Size (HTML)
QA1419: Describes methods for setting the stack size of a process and/or thread.
Cocoa Technical Q&As 2008-02-20
CustomSave (HTML) (DMG) (ZIP)
Demonstrates how to customize the NSSavePanel.
Cocoa Sample Code 2007-06-11
Daemons and Agents (HTML)
TN2083: Describes the most common problems encountered with daemons and agents, and suggests detailed solutions.
Cocoa Technical Notes 2007-11-05
Dashboard Programming Topics (HTML) (PDF)
Explains Dashboard and WebKit technologies used in widgets.
Cocoa Guides 2009-02-04
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.
Cocoa Guides 2008-10-15
DataBurn (HTML) (DMG) (ZIP)
Demonstrates how to create a DRFolder and burn it to disc.
Cocoa Sample Code 2005-03-17
DatePicker (HTML) (DMG) (ZIP)
Demonstrates how to use the NSDatePicker control.
Cocoa Sample Code 2007-04-25
Dates and Times Programming Topics for Cocoa (HTML) (PDF)
Explains how to manage Cocoa dates and times.
Cocoa Guides 2007-09-04
Debugging a WebKit Plug-in in Xcode (HTML)
QA1500: Directions for debugging a WebKit plug-in in Xcode.
Cocoa Technical Q&As 2007-06-05
Debugging Cocoa Applications (HTML) (PDF)
Tips and techniques for debugging Cocoa applications.
Cocoa Guides 2002-11-12
Debugging Graphics with QuartzDebug (HTML) (日本語 HTML)
QA1236: Explains how to use QuartzDebug to debug graphics issues.
Cocoa Technical Q&As 2006-01-12
Debugging NSTableView's "Action Invocation" binding (HTML)
QA1472: Discusses the issues and factors that affect NSTableView's "Action Invocation" binding.
Cocoa Technical Q&As 2006-11-13
Debugging with GDB (HTML)
Open-source document that explains how to use GDB to debug programs.
Cocoa Guides 2008-06-19
Departments and Employees (HTML) (DMG) (ZIP)
Source code for NSPersistentDocument Core Data Tutorial.
Cocoa Sample Code 2007-05-31
DerivedProperty (HTML) (DMG) (ZIP)
Illustrates use of Core Data derived properties to make searching against string data more efficient.
Cocoa Sample Code 2008-06-04
Designing Network-Friendly Applications (HTML)
Learn to make your application management-aware and reliably accessible on a network.
Cocoa Articles 2005-10-24
DeskPictAppDockMenu (HTML) (DMG) (ZIP)
How to add a dynamic Dock menu to your Cocoa application
Cocoa Sample Code 2003-01-14
Detecting specific ROM-in-RAM Mac (HTML) (日本語 HTML)
Deprecated - HW49: Identifying a Mac by name ("iMac"), and better alternatives for determining specific features ("has Firewire").
Cocoa Technical Q&As 1999-10-05
Detecting the Caps Lock Key (HTML)
QA1519: Explains how to detect when the caps lock key is turned on and off.
Cocoa Technical Q&As 2007-05-11
Determining console user login status (HTML)
QA1133: How to determine whether a user is logged in on the console, and be notified of changes.
Cocoa Technical Q&As 2008-04-14
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.
Cocoa Technical Q&As 2008-09-08
Developing Games on Mac OS X Using Third-Party Game Engines (HTML)
Create your own game using the powerful game engines that run on Mac OS X.
Cocoa Articles 2006-06-05
DeviceListener (HTML) (DMG) (ZIP)
Uses the DiscRecording framework to listen for device plug/unplug events and media insertion events.
Cocoa Sample Code 2003-07-17
Dialogs and Special Panels (HTML) (PDF)
Explains how to create alert panels. Includes links to documents about other types of panels.
Cocoa Guides 2009-02-04
Dicey (HTML) (DMG) (ZIP)
Dicey is a dice game project that demonstrates various techniques for making a Cocoa application accessible.
Cocoa Sample Code 2006-08-01
Dictionary Services Programming Guide (HTML) (PDF)
Explains how to create a dictionary and access it programmatically.
Cocoa Guides 2007-05-30
Dictionary Services Reference (HTML) (PDF)
Describes the Objective-C and C routines that support programmatic access to dictionaries.
Cocoa Reference 2007-05-29
DictionaryController (HTML) (DMG) (ZIP)
"DictionaryController" is a Cocoa application that demonstrates various ways in how to use the NSDictionaryController class.
Cocoa Sample Code 2007-12-20
Disabling and Enabling an NSTextView (HTML)
QA1461: Shows how a Cocoa application can disable and enable an NSTextView.
Cocoa Technical Q&As 2006-09-11
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.
Cocoa Technical Q&As 2008-09-16
Disabling text completion in an NSTextField (HTML)
QA1553: Shows how to implement a delegate method provided by NSControl to disable automatic text completion.
Cocoa Technical Q&As 2008-02-27
Disc Recording Framework Reference (HTML)
Describes the Objective-C and C API for burning audio and data CDs and DVDs.
Cocoa 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.
Cocoa Reference 2008-04-08
Discovering all advertised Bonjour service types (HTML)
QA1337: Explains how to discover all Bonjour service types being advertised on the local network.
Cocoa Technical Q&As 2004-06-01
DiscRecording Release Notes (HTML)
Updated for Mac OS X v10.5
Cocoa Release Notes 2007-10-31
Distributed Objects Programming Topics (HTML) (PDF)
Explains how Objective-C objects in different threads or different processes communicate.
Cocoa Guides 2007-06-06
Dock Tile Programming Guide (HTML) (PDF)
Explains how to provide an icon and contextual menu in Carbon applications.
Cocoa Guides 2009-03-04
DockTile (HTML) (DMG) (ZIP)
Demonstrates how to customize your application's icon in the Dock by using the NSDockTile class.
Cocoa Sample Code 2007-09-11
Document-Based Applications Overview (HTML) (PDF)
Explains how to design and implement Cocoa applications that manage multiple documents.
Cocoa Guides 2009-01-12
DOMDocument Additions Reference (HTML) (PDF)
Describes the API added to the DOMDocument class to facilitate communication between WebKit and the DOM API.
Cocoa Reference 2008-10-15
DOMElement Additions Reference (HTML)
Describes the API added to the DOMElement class to facilitate communication between WebKit and the DOM API.
Cocoa Reference 2008-10-15
DOMHTMLDocument Additions Reference (HTML) (PDF)
Describes the API added to the DOMHTMLDocument class to facilitate communication between WebKit and the DOM API.
Cocoa Reference 2009-01-26
DOMHTMLFrameElement Additions Reference (HTML) (PDF)
Describes the API added to the DOMHTMLFrameElement class to facilitate communication between WebKit and the DOM API.
Cocoa Reference 2006-05-23
DOMHTMLIFrameElement Additions Reference (HTML) (PDF)
Describes the API added to the DOMHTMLIFrameElement class to facilitate communication between WebKit and the DOM API.
Cocoa Reference 2006-05-23
DOMHTMLObjectElement Additions Reference (HTML) (PDF)
Describes the API added to the DOMHTMLObjectElement class to facilitate communication between WebKit and the DOM API.
Cocoa Reference 2006-05-23
DOMNode Additions Reference (HTML) (PDF)
Describes the API added to the DOMNode class to facilitate communication between WebKit and the DOM API.
Cocoa Reference 2009-02-04
DOMRange Additions Reference (HTML) (PDF)
Describes the API added to the DOMRange class to facilitate communication between WebKit and the DOM API.
Cocoa Reference 2008-10-15
Don't forget to cancel your Bonjour resolve (HTML)
QA1297: Explains why it's important to cancel a Bonjour resolve operation.
Cocoa Technical Q&As 2007-08-30
Downloading through a proxy server in Mac OS X (HTML)
QA1296: Explains when downloading through a proxy server will work, and when it will fail.
Cocoa Technical Q&As 2003-10-29
Drag and Drop Programming Topics for Cocoa (HTML) (PDF)
Explains how to implement drag and drop in Cocoa.
Cocoa Guides 2006-06-28
DragItemAround (HTML) (DMG) (ZIP)
Illustrates creating a custom subclass of NSView.
Cocoa Sample Code 2006-03-16
Drawers (HTML) (PDF)
Explains how to use Cocoa drawers.
Cocoa Guides 2003-02-04
Drawing a Path Multiple Times (HTML)
QA1047: Explains that path drawing operations consume the path.
Cocoa Technical Q&As 2001-07-02
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.
Cocoa Technical Q&As 2008-03-25
Drawing Performance Guidelines (HTML) (PDF)
Guidelines for improving the speed of drawing code.
Cocoa Guides 2006-04-04
Driving OpenGL Rendering Loops (HTML)
QA1385: Using Core Video display links (CVDisplayLink) or Cocoa timers (NSTimer) to drive an OpenGL rendering loop
Cocoa Technical Q&As 2009-05-01
DynamicProperties (HTML) (DMG) (ZIP)
Demonstrates dynamically resolved properties, using a new Objective C 2.0 feature: dynamically resolved methods.
Cocoa Sample Code 2006-08-01
Embedding Hyperlinks in NSTextField and NSTextView (HTML)
QA1487: Shows how a Cocoa app can embed a hyperlink inside both NSTextField and NSTextView using NSAttributedString.
Cocoa Technical Q&As 2006-10-02
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.
Cocoa Technical Q&As 2008-01-21
The Enhanced Print Apple Event (HTML)
TN2082: Describes an enhancement to the print Apple event that gives developers more control over scripted printing.
Cocoa Technical Notes 2003-12-09
EnhancedAudioBurn (HTML) (DMG) (ZIP)
This Objective-C sample demonstrates how to burn RedBook Audio CDs.
Cocoa Sample Code 2005-07-06
EnhancedDataBurn (HTML) (DMG) (ZIP)
Objective-C sample which shows how to burn a data disc containing a complete virtual filesystem.
Cocoa Sample Code 2003-01-14
Ensuring Backwards Binary Compatibility - Weak Linking and Availability Macros on Mac OS X (HTML) (日本語 HTML)
TN2064: Ensuring that Mach-O applications built using today's Mac OS X runs on previous versions of the OS.
Cocoa Technical Notes 2003-02-18
Environment Variables (HTML)
QA1255: Describes how a process gets its environment variables.
Cocoa Technical Q&As 2003-10-29
Eraser (HTML) (DMG) (ZIP)
Uses the DiscRecordingUI framework to present the standard erase, selection and progress dialogs.
Cocoa Sample Code 2003-01-14
Error Handling Programming Guide For Cocoa (HTML) (PDF)
Describes NSError objects, related Application Kit support for error handling, and how to use these features in your code.
Cocoa Guides 2009-03-04
Event-Driven XML Programming Guide for Cocoa (HTML) (PDF)
Explains how to process XML documents using the Cocoa streaming parser.
Cocoa Guides 2008-09-09
Exception Handling Framework Reference (HTML) (PDF)
Describes the API used to monitor and debug exceptional conditions in Objective-C code.
Cocoa Reference 2006-10-03
Exception Programming Topics for Cocoa (HTML) (PDF)
Explains how to raise and handle exceptions in Cocoa applications.
Cocoa Guides 2007-10-02
Exclusive File Access in Mac OS X (HTML) (日本語 HTML)
TN2037: Covers exclusive file access In Mac OS X
Cocoa Technical Notes 2002-05-01
Expanding Tilde-based paths (HTML)
QA1549: Demonstrates how to resolve tilde-based relevant paths.
Cocoa Technical Q&As 2008-09-08
ExtractMovieAudioToAIFF (HTML) (DMG) (ZIP)
Demonstrates how to extract audio from QuickTime Movies and write the data to an AIFF file.
Cocoa Sample Code 2006-03-31
FancyAbout (HTML) (DMG) (ZIP)
Demonstrates several visual effects for "About..." panels such as scrolling text, window without a title bar, and ways to dismiss the window.
Cocoa Sample Code 2003-10-27
Fiendishthngs (HTML) (DMG) (ZIP)
Fiendishthngs lists all the the Components it finds on the system and lets you query them for information.
Cocoa Sample Code 2007-09-13
File Manager Performance and Caching (HTML)
FL16: Discusses traditional Mac OS file system input/output performance issues and the File Manager's volume cache.
Cocoa Technical Notes 2000-09-01
File System Overview (HTML) (PDF)
Conceptual information and guidelines describing the structure and usage of the Mac OS X file system.
Cocoa Guides 2008-07-11
File Wrappers with Core Data Documents (HTML) (DMG) (ZIP)
This sample demonstrates how directory file wrappers can be used with NSPersistentDocument.
Cocoa Sample Code 2009-04-29
File-System Performance Guidelines (HTML) (PDF)
Guidelines for improving the performance of file-related code.
Cocoa Guides 2005-07-07
FileNotification (HTML) (DMG) (ZIP)
kqueue file notification introduced in 10.3. Notification API to detect file system modifications.
Cocoa Sample Code 2005-10-27
filesystem_examples (HTML) (DMG) (ZIP)
Collection of command line tools illustrating filesystem features.
Cocoa Sample Code 2006-01-10
Find By Content Reference (HTML) (PDF)
Deprecated - Describes the legacy C API for performing relevance-ranked searches. Replaced by Search Kit.
Cocoa Reference 2006-07-13
Finding an NSView's current magnification. (HTML)
QA1346: How to discover the current magnification (zoom level) of any NSView.
Cocoa Technical Q&As 2005-03-08
Finding EXC_BAD_ACCESS bugs in a Cocoa project (HTML)
QA1367: Discusses how to find memory protection violations or EXC_BAD_ACCESS bugs in Cocoa projects.
Cocoa Technical Q&As 2006-10-10
Font Handling (HTML) (PDF)
Explains the Cocoa font management system and how users select fonts.
Cocoa Guides 2008-02-08
Font Panel (HTML) (PDF)
Explains how to use the Cocoa Font panel.
Cocoa Guides 2004-08-31
Forms (HTML) (PDF)
Explains how to use Cocoa forms.
Cocoa Guides 2002-11-12
Foundation Constants Reference (HTML) (PDF)
Describes constants in the Foundation framework.
Cocoa Reference 2009-05-06
Foundation Data Types Reference (HTML) (PDF)
Describes the common data types in the Foundation framework.
Cocoa Reference 2008-09-09
Foundation Framework Reference (HTML) (PDF)
Describes the Foundation framework API.
Cocoa Reference 2008-06-27
Foundation Functions Reference (HTML) (PDF)
Describes Foundation framework functions.
Cocoa Reference 2008-10-15
Foundation Reference Update (HTML) (PDF)
Summarizes the symbols added to the Foundation framework.
Cocoa Release Notes 2007-07-18