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
Runtime Configuration Guidelines (HTML) (PDF)
Conceptual and reference information for dynamically configuring your software.
Cocoa Guides 2008-07-08
Saving the current Core Graphics Path (HTML)
QA1056: Explains that the Core Graphics save and restore GState APIs do not affect the path.
Cocoa Technical Q&As 2001-10-02
SayIt (HTML) (DMG) (ZIP)
Web Kit plug-in which speaks text passed via JavaScript
Cocoa Sample Code 2006-08-04
SBApplication Class Reference (HTML) (PDF)
Describes an Objective-C representation of a scriptable application.
Cocoa Reference 2007-05-29
SBApplicationDelegate Protocol Reference (HTML) (PDF)
Describes the interface for receiving and handling Apple event errors from applications.
Cocoa Reference 2007-05-29
SBElementArray Class Reference (HTML) (PDF)
Describes a mutable array for storing related Scripting Bridge objects.
Cocoa Reference 2007-05-29
SBObject Class Reference (HTML) (PDF)
Describes an object in a scriptable application.
Cocoa Reference 2007-05-29
SBSendEmail (HTML) (DMG) (ZIP)
Using the Scripting Bridge to tell Mail.app to send an email message with an optional attachment.
Cocoa Sample Code 2008-02-28
SBSetFinderComment (HTML) (DMG) (ZIP)
Set/Get Finder Comments using Scripting Bridge
Cocoa Sample Code 2007-12-04
SBSystemPrefs (HTML) (DMG) (ZIP)
Shows how to use Scripting Bridge to display a preference pane in System Preferences.
Cocoa Sample Code 2008-10-13
Scoping Your Transition Projects (HTML)
Learn how to transition to Intel-based Macs.
Cocoa Articles 2005-09-27
Screen Saver Framework Reference (HTML) (PDF)
Describes the Objective-C API for supporting and working with screen effects.
Cocoa Reference 2006-05-23
Screen Saver Functions Reference (HTML) (PDF)
Describes functions and function-like macros available in the Screen Saver framework.
Cocoa Reference 2006-05-23
ScreenSaverDefaults Class Reference (HTML) (PDF)
Describes the class that defines a set of methods for saving and restoring user defaults for screen savers.
Cocoa Reference 2006-05-23
ScreenSaverView Class Reference (HTML) (PDF)
Describes the class that defines the interface for subclassers to interact with the screen saver infrastructure.
Cocoa Reference 2006-05-23
Scripting Bridge Framework Reference (HTML) (PDF)
Describes the interface that allows Cocoa applications to communicate with scriptable applications.
Cocoa Reference 2007-05-29
Scripting Bridge Programming Guide for Cocoa (HTML) (PDF)
Describes the Scripting Bridge technology, which bridges OSA-compliant applications to Objective-C, and explains how to use it in Cocoa programs.
Cocoa Guides 2008-03-11
Scripting Bridge Release Note (HTML)
A release note that describes the classes and techniques used to control scriptable applications from Objective-C code.
Cocoa Release Notes 2007-10-31
Scripting Interface Guidelines (HTML)
TN2106: Directions for providing a clean and consistent scripting interface for your application.
Cocoa Technical Notes 2004-03-01
ScriptingBridgeiCal (HTML) (DMG) (ZIP)
Adding/updating events in iCal using Scripting Bridge.
Cocoa Sample Code 2007-12-13
Scroll View Programming Guide for Cocoa (HTML) (PDF)
Describes how to use scroll views in Cocoa applications.
Cocoa Guides 2006-06-28
Search Fields (HTML) (PDF)
Explains how to use Cocoa search fields.
Cocoa Guides 2008-02-08
Search Kit Programming Guide (HTML) (PDF)
Describes Search Kit architecture and workflow, and how to add search capabilities to Carbon and Cocoa applications.
Cocoa Guides 2005-12-06
Search Kit Reference (HTML) (PDF)
Describes the interface for supporting user searches of textual content.
Cocoa Reference 2009-05-06
SearchField (HTML) (DMG) (ZIP)
Demonstrates how to use and customize the features of the "NSSearchField" control.
Cocoa Sample Code 2007-04-25
SearchKit Release Notes (HTML)
Cocoa Release Notes 2005-04-29
Secure Coding Guide (HTML) (PDF)
Describes techniques to use and factors to consider to make your code more secure from attack.
Cocoa Guides 2008-05-23
Secure Transport Reference (HTML) (PDF)
Describes the C API for creating a Secure Sockets Layer session over any transport layer.
Cocoa 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.
Cocoa 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.
Cocoa 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.
Cocoa 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.
Cocoa Guides 2008-10-15
Security Reference Update (HTML) (PDF)
Summarizes the symbols added to the Security framework.
Cocoa Release Notes 2007-07-18
SecurityInterface Data Types Reference (HTML) (PDF)
Describes the data types found in the Security Interface framework.
Cocoa Reference 2006-05-23
Segmented Controls Programming Guide for Cocoa (HTML) (PDF)
Explains how to use Cocoa segmented controls.
Cocoa Guides 2006-02-07
Sending an Email (HTML)
QA1084: Shows how to create an email in the user's prefered email application.
Cocoa Technical Q&As 2004-11-05
SetMouseAcclSample (HTML) (DMG) (ZIP)
Find HID System Manager and get/set cursor acceleration
Cocoa Sample Code 2006-11-28
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Cocoa Technical Q&As 2001-10-25
Setting the ColorSync profile for a NSBitmapImageRep object (HTML)
QA1369: Setting the ColorSync profile for a NSBitmapImageRep object
Cocoa Technical Q&As 2004-09-08
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.
Cocoa 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.
Cocoa 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.
Cocoa Reference 2006-05-23
SFCertificatePanel Class Reference (HTML) (PDF)
Describes the class that displays one or more certificates in a panel or sheet.
Cocoa Reference 2006-05-23
SFCertificateTrustPanel Class Reference (HTML) (PDF)
Describes the class that enables the user to edit the trust settings in a certificate.
Cocoa Reference 2006-05-23
SFCertificateView Class Reference (HTML) (PDF)
Describes the class that displays the contents of a certificate.
Cocoa Reference 2006-05-23
SFChooseIdentityPanel Class Reference (HTML) (PDF)
Describes the class that allows a user to select an identity from a list.
Cocoa 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.
Cocoa 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.
Cocoa Reference 2006-05-23
SharedMemory (HTML) (DMG) (ZIP)
Shows how multiple applications can access the same memory using the Unix shmget system call.
Cocoa Sample Code 2003-01-14
Shearing a Coordinate Space with NSAffineTransform (HTML) (日本語 HTML)
QA1332: Describes a simple way to shear coordinate spaces by adding a few methods to the NSAffineTransform class.
Cocoa Technical Q&As 2004-01-29
Sheet Programming Topics for Cocoa (HTML) (PDF)
Explains how to use Cocoa sheets.
Cocoa Guides 2006-09-05
SillyFrequencyLevels (HTML) (DMG) (ZIP)
Demonstrates how to obtain audio frequency levels from a Movie using SetMovieAudioFrequencyMeteringNumBands and GetMovieAudioFrequencyLevels APIs.
Cocoa Sample Code 2006-01-25
Simon (HTML) (DMG) (ZIP)
A simple game demonstrating Cocoa development in Project Builder.
Cocoa Sample Code 2003-01-14
Simple Bindings Adoption (HTML) (DMG) (ZIP)
A simple example that illustrates the adoption of Cocoa Bindings.
Cocoa Sample Code 2007-06-07
SimpleCalendar (HTML) (DMG) (ZIP)
Uses the Calendar Store framework to fetch iCal events and display them on a custom calendar.
Cocoa Sample Code 2006-07-27
SimpleCocoaApp (HTML) (DMG) (ZIP)
A basic Cocoa application for beginners to Cocoa and Objective-C.
Cocoa Sample Code 2007-08-07
SimpleCocoaJavaMovie (HTML) (DMG) (ZIP)
Deprecated - A simple movie player showing how to use the NSMovieView and NSMovie Cocoa Java classes.
Cocoa Sample Code 2003-01-14
SimpleCocoaJavaMovieCocoa (HTML) (DMG) (ZIP)
Deprecated - Shows how to use the NSMovieView and NSMovie Cocoa Java AppKit classes.
Cocoa Sample Code 2003-01-14
SimpleCocoaMovie (HTML) (DMG) (ZIP)
Shows how to use the NSMovieView and NSMovie Cocoa AppKit classes.
Cocoa Sample Code 2003-01-14
SimpleCocoaMovieQT (HTML) (DMG) (ZIP)
A simple movie player showing how to use the NSMovieView and NSMovie Cocoa Objective-C classes.
Cocoa Sample Code 2003-01-14
SimpleThreads (HTML) (DMG) (ZIP)
Uses the Cocoa threading APIs to coordinate multiple preemptively scheduled secondary threads with the non-reentrant Cocoa framework.
Cocoa Sample Code 2003-01-14
Simplifying Data Handling with Uniform Type Identifiers (HTML)
Learn to use UTIs to take advantage of key Mac OS X technologies in your application.
Cocoa Articles 2005-07-12
Slider Programming Topics for Cocoa (HTML) (PDF)
Explains how to use Cocoa sliders.
Cocoa Guides 2006-10-03
Software Delivery Guide (HTML) (PDF)
Explains how to distribute and install Mac OS X software using PackageMaker and Installer.
Cocoa Guides 2006-07-24
Solving NSTabView drawing problems in Mac OS X 10.1.x (HTML) (日本語 HTML)
QA1117: Explains how to work around NSTabView draw problems in Mac OS X 10.1.x
Cocoa Technical Q&As 2002-02-14
Son of Grab (HTML) (DMG) (ZIP)
Shows how to use the new CGWindow to get window images from the Window Server.
Cocoa Sample Code 2007-11-01
SonOfSillyBalls (HTML) (DMG) (ZIP)
Draws a bunch of randomly colored, randomly placed, silly balls in a window on the screen.
Cocoa Sample Code 2003-01-14
Sort Descriptor Programming Topics (HTML) (PDF)
Explains how to use sort descriptors to specify the sorting of collections.
Cocoa Guides 2007-07-10
Sorting Like the Finder (HTML)
QA1159: Shows how to sort strings like the Finder's list view.
Cocoa Technical Q&As 2004-10-27
The Sound of Opportunity Knocking: The Audio Units Community Takes Off (HTML)
Learn how one developer created a successful business using audio units.
Cocoa Articles 2005-10-31
Sound Programming Topics for Cocoa (HTML) (PDF)
Explains how to load and play audio data in Cocoa.
Cocoa Guides 2006-11-07
SourceView (HTML) (DMG) (ZIP)
Demonstrates how to use NSOutlineView driven by NSTreeController.
Cocoa Sample Code 2007-11-15
SpecialPictureProtocol (HTML) (DMG) (ZIP)
Use a custom NSURLProtocol to create jpeg images in memory for display in a webView.
Cocoa Sample Code 2006-03-13
Speech (HTML) (PDF)
Explains Cocoa's interfaces to the speech synthesis and speech recognition technologies.
Cocoa Guides 2003-08-08
Speech Synthesis Programming Guide (HTML) (PDF)
Describes speech synthesis in Mac OS X and explains how your application can produce customized spoken output.
Cocoa Guides 2006-09-05
SpeedometerView (HTML) (DMG) (ZIP)
Shows how to make a custom NSView.
Cocoa Sample Code 2007-06-06
Spell Checking (HTML) (PDF)
Explains how to use the spell-checking facilities in the Cocoa text system.
Cocoa Guides 2004-02-09
SpellingChecker CarbonCocoa Bundled (HTML) (DMG) (ZIP)
How to load and call a Cocoa bundle from a Carbon CFM or Mach-O application
Cocoa Sample Code 2004-08-17
SpellingChecker-CarbonCocoa (HTML) (DMG) (ZIP)
Implements procedural C wrapper around the Cocoa NSSpellChecker, exports it as a Mach-O bundle called "SpellCheck.bundle"
Cocoa Sample Code 2003-01-14
SpellingChecker-CocoaCarbon (HTML) (DMG) (ZIP)
Demonstrates how to call NSSpellChecker cocoa routines from a Carbon application.
Cocoa Sample Code 2005-08-10
Spotlight Importer Programming Guide (HTML) (PDF)
Describes the role of metadata importers and how to write them.
Cocoa Guides 2007-05-27
Spotlight Metadata Attributes Reference (HTML) (PDF)
Describes metadata attributes used with Spotlight.
Cocoa Reference 2007-05-22
Spotlight Overview (HTML) (PDF)
Introduces the main components and services of Apple's metadata technology.
Cocoa Guides 2007-05-27
Spotlight Query Programming Guide (HTML) (PDF)
Describes how to add Spotlight searching to your applications.
Cocoa Guides 2006-03-08
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.
Cocoa Sample Code 2008-06-06
Sproing (HTML) (DMG) (ZIP)
Shows how "springs" work to control view resizing behavior.
Cocoa Sample Code 2003-05-20
Squiggles (HTML) (DMG) (ZIP)
Demonstrates many Cocoa fundamentals in a Document-based Application featuring custom drawing and event-handling.
Cocoa Sample Code 2008-08-29
SSLSample (HTML) (DMG) (ZIP)
Contains examples showing how to use SecureTransport.
Cocoa Sample Code 2003-01-14
Static linking of user binaries on Mac OS X (HTML) (日本語 HTML)
QA1118: Explains why static linking of user binaries is not supported on Mac OS X, and possible workarounds.
Cocoa Technical Q&As 2002-02-07
Status Bars (HTML) (PDF)
Explains how to use Cocoa status bars.
Cocoa Guides 2002-11-12
Steppers (HTML) (PDF)
Explains how to use Cocoa steppers.
Cocoa Guides 2002-11-12
StickiesExample (HTML) (DMG) (ZIP)
Contains sample code and tools used by Sync Services Tutorial to demonstrate debugging syncing applications.
Cocoa Sample Code 2006-08-08
StillMotion (HTML) (DMG) (ZIP)
Demonstrates how to use the QTKit Capture APIs to build a simple application that creates stop motion animations.
Cocoa Sample Code 2007-11-14
Stream Programming Guide for Cocoa (HTML) (PDF)
Explains how to use the Cocoa stream classes to read data from and write data to streams.
Cocoa Guides 2009-05-06
String Programming Guide for Cocoa (HTML) (PDF)
Explains how to create, search, concatenate, and draw strings in Cocoa.
Cocoa Guides 2008-10-15
Suppressing the "unexpectedly quit" alert (HTML)
QA1288: Describes how to suppress the "unexpectedly quit" alert.
Cocoa Technical Q&As 2008-03-11
Sync Services Release Notes (10.4) (HTML)
Cocoa Release Notes 2005-04-29
Sync Services Constants Reference (HTML) (PDF)
Cocoa 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.
Cocoa Reference 2007-10-31
Sync Services Programming Guide (HTML) (PDF)
Explains how to add syncing to your applications.
Cocoa Guides 2007-10-31