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
ScriptingBridgeiCal (HTML) (DMG) (ZIP)
Adding/updating events in iCal using Scripting Bridge.
Scripting & Automation Sample Code 2007-12-13
Using AppleScript Scripts in Cocoa Applications (HTML)
TN2084: Explains how to work with AppleScript scripts in your Cocoa application.
Scripting & Automation Technical Notes 2006-09-19
Using PyObjC for Developing Cocoa Applications with Python (HTML)
Learn how to build a sample Cocoa app using the Cocoa-Python bridge PyOjbC.
Scripting & Automation Articles 2005-08-15
XML-RPC and SOAP Programming Guide (HTML) (PDF)
Explains how to make remote procedure calls from applications or from AppleScript scripts.
Scripting & Automation Guides 2005-03-03
Authorization Services Programming Guide (HTML) (PDF)
Explains how to add fine-grained control of privileged operations in an application.
Security Guides 2009-01-06
Certificate, Key, and Trust Services Programming Guide (HTML) (PDF)
Shows how to evaluate trust for a certificate and recover from a trust failure.
Security Guides 2008-11-19
Certificate, Key, and Trust Services Reference (HTML) (PDF)
Describes services to read and evaluate certificates and to use cryptographic keys.
Security Reference 2008-11-19
CFBundleIdentifier and user application access (HTML)
QA1373: Describes the role of CFBundleIdentifier in limiting a user's application access.
Security Technical Q&As 2005-02-08
CFNetwork Programming Guide (HTML) (PDF)
Explains how to use Core Foundation networking functions to work with low-level BSD sockets.
Security Guides 2009-05-06
Code Signing Guide (HTML) (PDF)
Explains how you can sign your code and why you should.
Security Guides 2008-11-19
Code Signing Release Notes (HTML)
Security Release Notes 2007-10-31
Cryptographic Message Syntax Services Reference (HTML) (PDF)
Describes the API for encrypting, signing, and decoding messages using Cryptographic Message Syntax (CMS).
Security Reference 2007-10-31
CryptoSample (HTML) (DMG) (ZIP)
Contains sample code showing symmetric encryption and message digest calculation.
Security Sample Code 2003-02-06
GetMACAddressSample (HTML) (DMG) (ZIP)
Demonstrates how to retrieve the MAC address for each Ethernet interface from the Mac OS X I/O Registry.
Security Sample Code 2003-01-14
GetPrimaryMACAddress (HTML) (DMG) (ZIP)
Demonstrates retrieving the MAC address of the built-in Ethernet controller. Useful for uniquely identifying a Macintosh system.
Security Sample Code 2005-10-27
Kerberos: Highly Secure Single Sign On Authentication in Mac OS X (HTML)
Learn how you can take advantage of Kerberos in your application.
Security Articles 2007-02-05
Keychain Services Programming Guide (HTML) (PDF)
This document explains how to use Keychain Services to store and retrieve passwords.
Security Guides 2009-03-12
Keychain Services Reference (HTML) (PDF)
Describes the Keychain Services API, used to create, find, modify, and delete keychain items.
Security Reference 2008-11-19
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
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
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
Secure Transport Reference (HTML) (PDF)
Describes the C API for creating a Secure Sockets Layer session over any transport layer.
Security Reference 2004-08-31
Security Foundation Framework Reference (HTML) (PDF)
Describes the Security Foundation framework for adding fine-grained control of privileged operations in an application.
Security Reference 2006-05-23
Security Framework Error Codes (HTML)
QA1499: Explains how to interpret errors returned by the Security Framework with an overview of Security error handling.
Security Technical Q&As 2006-11-16
Security Interface Framework Reference (HTML) (PDF)
Describes the Objective-C API for creating views and dialogs relating to authorization, certificates, and keychains.
Security Reference 2006-07-14
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
Security Reference Update (HTML) (PDF)
Summarizes the symbols added to the Security framework.
Security Release Notes 2007-07-18
SecurityInterface Data Types Reference (HTML) (PDF)
Describes the data types found in the Security Interface framework.
Security Reference 2006-05-23
SFAuthorization Class Reference (HTML) (PDF)
Describes the class used to restrict a user's access to particular features in a Mac OS X application or daemon.
Security Reference 2009-01-06
SFAuthorizationPluginView Class Reference (HTML) (PDF)
Describes the class an authorization plug-in uses to display a custom view within the Apple-supplied authorization views.
Security Reference 2006-07-14
SFAuthorizationView Class Reference (HTML) (PDF)
Describes the class that displays a lock icon that indicates a user interface has restricted access.
Security Reference 2006-05-23
SFCertificatePanel Class Reference (HTML) (PDF)
Describes the class that displays one or more certificates in a panel or sheet.
Security Reference 2006-05-23
SFCertificateTrustPanel Class Reference (HTML) (PDF)
Describes the class that enables the user to edit the trust settings in a certificate.
Security Reference 2006-05-23
SFCertificateView Class Reference (HTML) (PDF)
Describes the class that displays the contents of a certificate.
Security Reference 2006-05-23
SFChooseIdentityPanel Class Reference (HTML) (PDF)
Describes the class that allows a user to select an identity from a list.
Security Reference 2006-05-23
SFKeychainSavePanel Class Reference (HTML) (PDF)
Describes the class that displays a sheet or panel that allows the user to create a keychain.
Security Reference 2006-05-23
SFKeychainSettingsPanel Class Reference (HTML) (PDF)
Describes the class that displays a panel or sheet that allows users to change their keychain settings.
Security Reference 2006-05-23
SSLSample (HTML) (DMG) (ZIP)
Contains examples showing how to use SecureTransport.
Security Sample Code 2003-01-14
Using Secure Event Input Fairly (HTML)
TN2150: Describes the proper use of EnableSecureEventInput.
Security Technical Notes 2007-06-08
Apple Applications Schema Reference (HTML) (PDF)
Describes the schemas used by Apple Applications to sync records such as contacts, calendars, and bookmarks.
Syncing Reference 2007-10-31
Integrating Sync Services into Your Application (HTML)
Learn how to sync any kind of data in your application using Sync Services.
Syncing Articles 2005-06-06
ISyncChange Class Reference (HTML) (PDF)
Syncing Reference 2006-06-30
ISyncClient Class Reference (HTML) (PDF)
An ISyncClient object represents an application, tool, or device that syncs records--for example, Address Book, .Mac, or a mobile phone.
Syncing Reference 2007-07-11
ISyncFilter Class Reference (HTML) (PDF)
Syncing Reference 2006-07-07
ISyncFiltering Protocol Reference (HTML) (PDF)
Syncing Reference 2007-07-11
ISyncManager Class Reference (HTML) (PDF)
You use an ISyncManager object to communicate directly with the sync engine to perform administrative operations.
Syncing Reference 2007-07-11
ISyncRecordReference Class Reference (HTML) (PDF)
Syncing Reference 2007-07-11
ISyncRecordSnapshot Class Reference (HTML) (PDF)
Syncing Reference 2006-07-07
ISyncSession Class Reference (HTML) (PDF)
An ISyncSession object is used to manage a single sync operation.
Syncing Reference 2008-11-19
ISyncSessionDriver Class Reference (HTML) (PDF)
Syncing Reference 2007-07-11
ISyncSessionDriverDataSource Protocol Reference (HTML) (PDF)
Defines a set of methods that the data source of an ISyncSessionDriver object must implement.
Syncing Reference 2007-07-11
ISyncUIHelper Protocol Reference (HTML) (PDF)
An informal protocol that provides user interface attributes to the iSync user interface.
Syncing Reference 2007-10-31
NSPersistentStoreCoordinator Sync Services Additions Reference (HTML) (PDF)
Describes the methods added to NSPersistenStoreCoordinator to support syncing of Core Data managed objects
Syncing Reference 2007-07-11
NSPersistentStoreCoordinatorSyncing Protocol Reference (HTML) (PDF)
Describes a protocol that you use to change the behavior of a Core Data application sync session.
Syncing Reference 2007-07-11
People (HTML) (DMG) (ZIP)
This program demonstrates the use of the SyncServices framework.
Syncing Sample Code 2005-06-01
StickiesExample (HTML) (DMG) (ZIP)
Contains sample code and tools used by Sync Services Tutorial to demonstrate debugging syncing applications.
Syncing Sample Code 2006-08-08
Sync Services Release Notes (10.4) (HTML)
Syncing Release Notes 2005-04-29
Sync Services Constants Reference (HTML) (PDF)
Syncing Reference 2007-07-11
Sync Services Framework Reference (HTML) (PDF)
Describes the Objective-C API for the Sync Services framework used to sync applications and devices.
Syncing Reference 2007-10-31
Sync Services Programming Guide (HTML) (PDF)
Explains how to add syncing to your applications.
Syncing Guides 2007-10-31
Sync Services Reference Update (HTML) (PDF)
Summarizes the symbols added to the Sync Services framework.
Syncing Release Notes 2007-07-18
Sync Services Release Notes (10.5) (HTML)
Describes new features, notes, and known issues for Sync Services on Mac OS X v10.5.
Syncing Release Notes 2007-10-31
Sync Services Tutorial (HTML) (PDF)
Explains how to debug multiple syncing applications using the Syncrospector development tool.
Syncing Guides 2007-07-11
Attributed Strings Programming Guide (HTML) (PDF)
Explains how to use attributed strings, which manage attributes of character strings or individual characters.
Text & Fonts Guides 2007-06-04
Connecting the Font Menu in Interface Builder 3 (HTML)
QA1571: How to connect and configure the Font/Format menus in Interface Builder 3.
Text & Fonts Technical Q&As 2008-01-21
Converting to Precomposed Unicode (HTML) (日本語 HTML)
QA1235: Describes how to convert a string to precomposed Unicode.
Text & Fonts Technical Q&As 2003-02-07
DerivedProperty (HTML) (DMG) (ZIP)
Illustrates use of Core Data derived properties to make searching against string data more efficient.
Text & Fonts Sample Code 2008-06-04
Dictionary Services Programming Guide (HTML) (PDF)
Explains how to create a dictionary and access it programmatically.
Text & Fonts Guides 2007-05-30
Dictionary Services Reference (HTML) (PDF)
Describes the Objective-C and C routines that support programmatic access to dictionaries.
Text & Fonts Reference 2007-05-29
Disabling and Enabling an NSTextView (HTML)
QA1461: Shows how a Cocoa application can disable and enable an NSTextView.
Text & Fonts Technical Q&As 2006-09-11
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 Technical Q&As 2008-02-27
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
Embedding Hyperlinks in NSTextField and NSTextView (HTML)
QA1487: Shows how a Cocoa app can embed a hyperlink inside both NSTextField and NSTextView using NSAttributedString.
Text & Fonts Technical Q&As 2006-10-02
Find By Content Reference (HTML) (PDF)
Deprecated - Describes the legacy C API for performing relevance-ranked searches. Replaced by Search Kit.
Text & Fonts Reference 2006-07-13
Font Handling (HTML) (PDF)
Explains the Cocoa font management system and how users select fonts.
Text & Fonts Guides 2008-02-08
Font Panel (HTML) (PDF)
Explains how to use the Cocoa Font panel.
Text & Fonts Guides 2004-08-31
Frequently Asked Text Services Manager (TSM) Questions (HTML)
TN2128: Regroups a collection of Text Services Manager (TSM) questions frequently asked by Input Method Developers
Text & Fonts Technical Notes 2005-06-24
How to make NSTextField accept tab, return and enter keys. (HTML)
QA1454: Describes how to make the NSTextField control accept tab, return and enter keys by using the control's dispatch delegate method.
Text & Fonts Technical Q&As 2006-10-09
IMKCandidates Class Reference (HTML) (PDF)
Describes the class that supports the use of candidate windows for an input method.
Text & Fonts Reference 2007-06-05
IMKInputController Class Reference (HTML) (PDF)
Describes the class that controls input on the input method side.
Text & Fonts Reference 2007-06-06
IMKMouseHandling Protocol Reference (HTML) (PDF)
Describes the protocol used to receive mouse events for an input method client session.
Text & Fonts Reference 2007-06-05
IMKServer Class Reference (HTML) (PDF)
Describes the class that manages connections to input method clients.
Text & Fonts Reference 2007-06-06
IMKServerInput Protocol Reference (HTML) (PDF)
Describes the informal protocol used to receive text events.
Text & Fonts Reference 2009-05-06
IMKStateSetting Protocol Reference (HTML) (PDF)
Describes the protocol used to set or access state values for an input method client session.
Text & Fonts Reference 2007-06-05
IMKTextInput Protocol Reference (HTML) (PDF)
Describes the protocol used to send and obtain data from an input method client session.
Text & Fonts Reference 2007-06-05
InkSample (HTML) (DMG) (ZIP)
Demonstrates some usage scenarios for the Ink.Framework APIs.
Text & Fonts Sample Code 2003-10-27
Input Method Kit Framework Reference (HTML) (PDF)
Describes the API for building input methods for Chinese, Japanese, and other languages.
Text & Fonts Reference 2007-06-06
Input Method Kit Reference Update (HTML) (PDF)
Summarizes the symbols added to the Input Method Kit framework.
Text & Fonts Release Notes 2007-07-18
Input Method Kit Release Note (HTML)
Describes an Objective-C framework for building input methods for Chinese, Japanese, and other languages.
Text & Fonts Release Notes 2007-07-17
LayoutManagerDemo (HTML) (DMG) (ZIP)
Demonstrates the layout manager using rollovers with different colors for lines, words and characters under the mouse.
Text & Fonts Sample Code 2003-01-14
NamingTableAccess (HTML) (DMG) (ZIP)
Digs out the contents of the NamingTable in a TrueType 'sfnt'.
Text & Fonts Sample Code 2003-01-14
NSATSTypesetter Class Reference (HTML) (PDF)
Describes a typesetter that places glyphs for text layout.
Text & Fonts Reference 2009-03-04
NSAttributedString Application Kit Additions Reference (HTML) (PDF)
Describes additions for analyzing and using attributed strings.
Text & Fonts Reference 2007-12-04
NSAttributedString Class Reference (HTML) (PDF)
Describes a character string with attributes.
Text & Fonts Reference 2008-10-15
NSChangeSpelling Protocol Reference (HTML) (PDF)
Describes the interface for correcting a misspelled word.
Text & Fonts Reference 2006-05-23
NSFont Class Reference (HTML) (PDF)
Describes a representation of a font.
Text & Fonts Reference 2007-06-08
NSFontAttributeExplorer (HTML) (DMG) (ZIP)
Demonstrates how to gather and display various metric information for installed fonts using NSFont.
Text & Fonts Sample Code 2006-10-26
NSFontManager Class Reference (HTML) (PDF)
Describes an object for controlling font conversion.
Text & Fonts Reference 2007-04-06
NSGlyphGenerator Class Reference (HTML) (PDF)
Describes a glyph generator for text layout.
Text & Fonts Reference 2006-05-23
NSGlyphInfo Class Reference (HTML) (PDF)
Describes a glyph attribute value in an attributed string.
Text & Fonts Reference 2007-03-01