Jump To:
Leopard Sample Code
Apple provides APIs, file format specifications, and other resources to provide developers with opportunities to interact with and extend various Apple applications.

A guided introduction to writing code that interacts with Apple applications.   Essential information for developers integrating their code with Apple's applications.   C and Objective-C API references organized by framework.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Topic
Sort by
Date
ABPresence (HTML) (DMG) (ZIP)
Displays a list of all the people in your Address Book and their iChat status.
Address Book 2006-08-04
AddressBookCarbon (HTML) (DMG) (ZIP)
Demonstrates some basic manipulations of the Mac OS X 10.2.x (and beyond) Address Book API.
Address Book 2003-01-14
AddressBookCocoa (HTML) (DMG) (ZIP)
Demonstrates some basic manipulations of the Mac OS X 10.2.x (and beyond) Address Book API.
Address Book 2003-01-14
Birthdays (HTML) (DMG) (ZIP)
Dashboard widget with a plug-in that queries AddressBook.framework for contacts with upcoming birthdays.
Address Book 2008-09-10
CocoaPeoplePicker (HTML) (DMG) (ZIP)
Demonstrates how to use the AddressBook framework's ABPeoplePickerView.
Address Book 2003-12-11
PredicateEditorSample (HTML) (DMG) (ZIP)
Demonstrates how to use the NSPredicateEditor class.
Address Book 2007-06-06
Aperture Edit Plugin - Borders & Titles (HTML) (DMG) (ZIP)
"Borders & Titles" is a sample plugin for Aperture that demonstrates how to use the image editing API introduced with Aperture 2.1
Aperture 2008-06-02
Aperture Image Resizer (HTML) (DMG) (ZIP)
Sample Aperture Export Plug-In code
Aperture 2007-06-08
Apply Firmware Password (HTML) (DMG) (ZIP)
Demonstrates how to create an Automator Action for System Image Utility.
Automator 2007-06-12
AutomatorHandsOn (HTML) (DMG) (ZIP)
Illustrates several methods for building Automator Actions
Automator 2007-06-12
Duplicate Finder Items (HTML) (DMG) (ZIP)
Shows how to build an Automator action targeting Finder using AppleScript.
Automator 2005-06-06
UnsharpMask (HTML) (DMG) (ZIP)
Demonstrates how to build Automator actions using Cocoa frameworks.
Automator 2005-06-06
Birthdays (HTML) (DMG) (ZIP)
Dashboard widget with a plug-in that queries AddressBook.framework for contacts with upcoming birthdays.
Dashboard 2008-09-10
Fader (HTML) (DMG) (ZIP)
Demonstrates fading of elements inside a Dashboard widget
Dashboard 2007-09-12
Fortune (HTML) (DMG) (ZIP)
Deprecated - Demonstrates use of a widget plug-in
Dashboard 2005-06-01
Goodbye World (HTML) (DMG) (ZIP)
Demonstrates display and use of widget preferences to save a widget's state
Dashboard 2007-06-28
Hello Welt (HTML) (DMG) (ZIP)
Demonstrates localization techniques for Dashboard widgets
Dashboard 2007-06-25
Hello World (HTML) (DMG) (ZIP)
Introductory Dashboard widget example
Dashboard 2005-06-01
Reminders (HTML) (DMG) (ZIP)
Dashboard widget with a plug-in that displays upcoming iCal events, to do items, and calendars.
Dashboard 2008-07-25
Resizer (HTML) (DMG) (ZIP)
A widget that demonstrates how to use the Apple Animation and Animator classes.
Dashboard 2006-08-01
Syncer (HTML) (DMG) (ZIP)
A widget that demonstrates how to use handle a Dashboard Sync event.
Dashboard 2006-08-01
Voices (HTML) (DMG) (ZIP)
Demonstrates use of the widget.system command from Dashboard
Dashboard 2007-06-25
AlbumToSlideshow (HTML) (DMG) (ZIP)
Demonstrates using CF and NSXML to create Final Cut Pro XML.
Final Cut Pro/Final Cut Express 2008-05-15
FinalCutPro_AppleEvents (HTML) (DMG) (ZIP)
Uses Apple Events to interact with Final Cut Pro 5.1.2 or later.
Final Cut Pro/Final Cut Express 2007-11-16
FinalCutServerIntegrationSample (HTML) (DMG) (ZIP)
Shows how to integrate an external application with Final Cut Server
Final Cut Pro/Final Cut Express 2008-06-07
Gamma Filter for FxPlug and AE (HTML) (DMG) (ZIP)
Cross-application FxPlug and After Effects plug-in code.
Final Cut Pro/Final Cut Express 2008-06-02
MovieAssembler (HTML) (DMG) (ZIP)
Demonstrates AppleEvent communication with FCP, project modification using XML, and media file identification using metadata.
Final Cut Pro/Final Cut Express 2007-11-14
QTMetadataEditor (HTML) (DMG) (ZIP)
Demonstrates QuickTime 7 APIs in a Metadata Browsing and Editing application
Final Cut Pro/Final Cut Express 2008-05-09
TextTrack (HTML) (DMG) (ZIP)
Demonstrates some simple operations on Final Cut Pro XML files
Final Cut Pro/Final Cut Express 2005-06-27
TimelineToTC (HTML) (DMG) (ZIP)
Sample application demonstrating parsing/conversion of FCP XML Files.
Final Cut Pro/Final Cut Express 2007-06-01
FinalCutServerIntegrationSample (HTML) (DMG) (ZIP)
Shows how to integrate an external application with Final Cut Server
Final Cut Server 2008-06-07
QTMetadataEditor (HTML) (DMG) (ZIP)
Demonstrates QuickTime 7 APIs in a Metadata Browsing and Editing application
Final Cut Server 2008-05-09
CalendarItems (HTML) (DMG) (ZIP)
Creates new iCal Events and Tasks ("To Do's") using Objective-C 2 and the Calendar Store framework
iCal 2007-10-15
Reminders (HTML) (DMG) (ZIP)
Dashboard widget with a plug-in that displays upcoming iCal events, to do items, and calendars.
iCal 2008-07-25
SimpleCalendar (HTML) (DMG) (ZIP)
Uses the Calendar Store framework to fetch iCal events and display them on a custom calendar.
iCal 2006-07-27
ABPresence (HTML) (DMG) (ZIP)
Displays a list of all the people in your Address Book and their iChat status.
iChat 2006-08-04
iChatAppleScriptSamples (HTML) (DMG) (ZIP)
Sample AppleScripts demonstrating new iChat AppleScript features in Leopard, including Event Handlers.
iChat 2006-08-04
iChatStatusFromApplication (HTML) (DMG) (ZIP)
Demonstrates how to communicate with iChat using Scripting Bridge.
iChat 2008-03-31
CapabilitiesSample (HTML) (DMG) (ZIP)
Shows how to detect Image Capture device capabilities and send messages to devices with ICAObjectSendMessage.
Image Capture 2003-01-14
ICADownloadFirst (HTML) (DMG) (ZIP)
Demonstrates using the Image Capture APIs asynchronously to download the first image in the first device found.
Image Capture 2003-01-14
ICAObjectDumper (HTML) (DMG) (ZIP)
A command-line tool that uses the Image Capture APIs to display the ICAObject hierarchy.
Image Capture 2003-01-14
ImagesToQTMovie (HTML) (DMG) (ZIP)
Creates a QuickTime movie from the images of any connected camera.
Image Capture 2003-01-14
SampleButtonPlugin (HTML) (DMG) (ZIP)
Demonstrates how to write a TWAIN button listener plug-in code module.
Image Capture 2003-07-10
SampleDS (HTML) (DMG) (ZIP)
Demonstrates how to implement a TWAIN Data Source (DS) for Mac OS X.
Image Capture 2003-07-10
SampleScannerApp (HTML) (DMG) (ZIP)
This project implements a simple client accessing an ICA scanning device.
Image Capture 2008-05-07
SimpleDownload (HTML) (DMG) (ZIP)
Shows how to use the Image Capture APIs to download a user-selected file to the user's ~/Pictures directory.
Image Capture 2003-01-14
AlbumToSlideshow (HTML) (DMG) (ZIP)
Demonstrates using CF and NSXML to create Final Cut Pro XML.
iPhoto 2008-05-15
iSync Sample Document (HTML) (DMG) (ZIP)
iSync Plug-in Maker sample document, illustrating how to build an iSync plug-in for a SyncML phone.
iSync 2006-08-01
SeeMyFriends (HTML) (DMG) (ZIP)
Illustrates how to use SyncServices API in a Carbon (HLTB) based application
iSync 2006-10-16
StickiesExample (HTML) (DMG) (ZIP)
Contains sample code and tools used by Sync Services Tutorial to demonstrate debugging syncing applications.
iSync 2006-08-08
iTunesController (HTML) (DMG) (ZIP)
iTunesController allows you to control iTunes without having to bring it to the foreground.
iTunes 2006-02-23
AppleScriptRunner (HTML) (DMG) (ZIP)
How to send mail and execute other AppleScripts from a Carbon application.
Mail 2006-07-31
Gamma Filter for FxPlug and AE (HTML) (DMG) (ZIP)
Cross-application FxPlug and After Effects plug-in code.
Motion 2008-06-02
QCFundamentals (HTML) (DMG) (ZIP)
Demonstrates Coordinate, Interpolation, and Iterative systems in Quartz Composer with an amusing animation
Quartz Composer 2006-08-07
QCGalaxy (HTML) (DMG) (ZIP)
Demonstrates use of Particle Systems and Core Image Filters in Quartz Composer
Quartz Composer 2006-08-07
Quartz Composer Live DV (HTML) (DMG) (ZIP)
Shows how to export a Quartz Composer composition as a real-time DV stream on the FireWire port.
Quartz Composer 2005-06-01
Quartz Composer Matrix (HTML) (DMG) (ZIP)
Shows how to use Quartz Composer to display a QuickTime movie as a series of frames in a 3D world.
Quartz Composer 2005-06-01
Quartz Composer Offline Rendering (HTML) (DMG) (ZIP)
Shows how to render a Quartz Composer composition as a series of images using an OpenGL pBuffer.
Quartz Composer 2005-06-01
Quartz Composer QCTV (HTML) (DMG) (ZIP)
Shows how to build a fake TV system using Quartz Composer as the foundation motion graphics.
Quartz Composer 2005-07-06
Quartz Composer Texture (HTML) (DMG) (ZIP)
Shows how to use a Quartz Composer composition as an OpenGL texture.
Quartz Composer 2005-06-01
Quartz Composer WWDC 2005 Composition (HTML) (DMG) (ZIP)
Shows how to build a parameterized motion graphics composition with Quartz Composer.
Quartz Composer 2005-06-01
Quartz Composer WWDC 2005 TextEdit (HTML) (DMG) (ZIP)
Demonstrate how to modify TextEdit's about dialog to display a Quartz Composer composition.
Quartz Composer 2005-06-01
QuartzComposerSamplePatches (HTML) (DMG) (ZIP)
A short list of new patches in Quartz Composer Mac OS X 10.5
Quartz Composer 2007-06-11
Fader (HTML) (DMG) (ZIP)
Demonstrates fading of elements inside a Dashboard widget
Safari 2007-09-12
HTML Video With CSS Effects and Custom Video Controls (HTML) (DMG) (ZIP)
HTML5 video element example that uses CSS effects and custom video controls.
Safari 2008-08-06
MakeiPhoneRefMovie (HTML) (DMG) (ZIP)
Demonstrates how to generate QuickTime Reference Movies for iPhone.
Safari 2007-08-03
PhotoToss: CSS Transforms, Transitions, and Web Fonts (HTML) (DMG) (ZIP)
Demonstrates how to use CSS Transforms, Transitions, and Web Fonts.
Safari 2008-08-21
SayIt (HTML) (DMG) (ZIP)
Web Kit plug-in which speaks text passed via JavaScript
Safari 2006-08-04
WebKitCIPlugIn (HTML) (DMG) (ZIP)
This sample WebKit plugin for Safari demonstrate how to use CoreImage in a HTML page.
Safari 2005-11-28
WebKitDOMElementPlugIn (HTML) (DMG) (ZIP)
A Web Kit plug-in that modifies its own DOM element style
Safari 2006-08-04
WebKitPluginStarter (HTML) (DMG) (ZIP)
Shows how to make a minimal WebKit plug-in.
Safari 2007-06-06
WebKitPluginWithJavaScript (HTML) (DMG) (ZIP)
Shows how to call JavaScript from a WebKit plug-in and vice versa.
Safari 2007-06-06
WebKitPluginWithSimpleGUI (HTML) (DMG) (ZIP)
A WebKit plug-in with an Interface Builder GUI
Safari 2007-06-04