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
Sort by
Topic
Sorted by
Resource Type
Sort by
Date
FSMegaInfo (HTML) (DMG) (ZIP)
Prints information about various file system objects; helpful when debugging VFS plug-ins.
Carbon, Cocoa, Core Foundation, Darwin Sample Code 2008-02-25
QTCompressionOptionsWindow (HTML) (DMG) (ZIP)
Demonstrates how easy it is to manage QTCompressionOptions instances with a user interface.
Cocoa, QuickTime Sample Code 2008-02-22
GLUT (HTML) (DMG) (ZIP)
The OpenGL Utility Toolkit (GLUT) for Mac OS X version 3.4.0 (supporting the GLUT 3.7 API)
Graphics & Imaging Sample Code 2008-02-08
OutputBins2PDE (HTML) (DMG) (ZIP)
A Printer PDE demonstrating new features in 10.5
Printing Sample Code 2008-02-08
OpenGL Filter Basics Cocoa (HTML) (DMG) (ZIP)
How to use Objective-C and MVC design patterns in installing and utilizing filters in an OpenGL rendering pipeline
Cocoa, Games, Graphics & Imaging, Performance Sample Code 2008-02-06
MyRecorder (HTML) (DMG) (ZIP)
Demonstrates the use of the QTKit Capture APIs
QuickTime Sample Code 2008-01-29
QTControlCommandLine (HTML) (DMG) (ZIP)
Using the QuickTime COM Control object from the command line to export a movie to a different file format
QuickTime Sample Code 2008-01-29
ImageApp (HTML) (DMG) (ZIP)
Demonstrates basic image handling using the ImageIO APIs in Mac OS X 10.4 Tiger
Graphics & Imaging Sample Code 2008-01-24
QTAudioContextInsert (HTML) (DMG) (ZIP)
Demonstrates use of Audio Context Insert APIs to perform custom processing on QuickTime's audio stream.
Audio, Cocoa, QuickTime Sample Code 2008-01-21
IconCollection (HTML) (DMG) (ZIP)
Demonstrates how to use NSCollectionView along with NSWorkspace and named images to determine its content.
Cocoa, User Experience Sample Code 2008-01-18
With and Without Bindings (HTML) (DMG) (ZIP)
Illustrates the adoption of Cocoa Bindings and refactoring using a subclass of NSArrayController.
Cocoa Sample Code 2008-01-04
DictionaryController (HTML) (DMG) (ZIP)
"DictionaryController" is a Cocoa application that demonstrates various ways in how to use the NSDictionaryController class.
Cocoa, User Experience Sample Code 2007-12-20
GeekGameBoard (HTML) (DMG) (ZIP)
Shows how to use Core Animation for the user interface of a board or card game.
Cocoa, Games, Graphics & Imaging, Performance Sample Code 2007-12-19
ScriptingBridgeFinder (HTML) (DMG) (ZIP)
Using the Finder with Scripting Bridge
Scripting & Automation Sample Code 2007-12-13
ScriptingBridgeiCal (HTML) (DMG) (ZIP)
Adding/updating events in iCal using Scripting Bridge.
Cocoa, Scripting & Automation Sample Code 2007-12-13
SBSetFinderComment (HTML) (DMG) (ZIP)
Set/Get Finder Comments using Scripting Bridge
Cocoa, Scripting & Automation Sample Code 2007-12-04
BetterAuthorizationSample (HTML) (DMG) (ZIP)
Shows the recommended way to access privileged functionality from a non-privileged application on Mac OS X.
Security Sample Code 2007-11-27
FinalCutPro_AppleEvents (HTML) (DMG) (ZIP)
Uses Apple Events to interact with Final Cut Pro 5.1.2 or later.
Apple Applications Sample Code 2007-11-16
HackTV Carbon (HTML) (DMG) (ZIP)
HackTV Carbon shows how to use the sequence grabber to preview and record QuickTime movie files.
Carbon, QuickTime Sample Code 2007-11-16
ClosedCaptionImporter (HTML) (DMG) (ZIP)
QuickTime Movie Import Component for Scenarist Closed Caption files.
QuickTime Sample Code 2007-11-15
SourceView (HTML) (DMG) (ZIP)
Demonstrates how to use NSOutlineView driven by NSTreeController.
Cocoa, Internet & Web, User Experience Sample Code 2007-11-15
JavaEOGenerator (HTML) (DMG) (ZIP)
Java-based template generation engine similar to EOGenerator
Java Sample Code 2007-11-14
MovieAssembler (HTML) (DMG) (ZIP)
Demonstrates AppleEvent communication with FCP, project modification using XML, and media file identification using metadata.
Apple Applications Sample Code 2007-11-14
StillMotion (HTML) (DMG) (ZIP)
Demonstrates how to use the QTKit Capture APIs to build a simple application that creates stop motion animations.
Cocoa, Graphics & Imaging, QuickTime Sample Code 2007-11-14
BoingX (HTML) (DMG) (ZIP)
Shows off using Quartz Extreme to provide borderless OpenGL content on the desktop.
Cocoa, Games, Graphics & Imaging Sample Code 2007-11-06
GLSL Showpiece Lite (HTML) (DMG) (ZIP)
Using GLSL from a Cocoa application
Graphics & Imaging Sample Code 2007-11-05
CocoaSlides (HTML) (DMG) (ZIP)
An image browser written using AppKit's Core Animation-based compositing and animation functionality
Cocoa, Graphics & Imaging Sample Code 2007-11-02
Son of Grab (HTML) (DMG) (ZIP)
Shows how to use the new CGWindow to get window images from the Window Server.
Carbon, Cocoa, Graphics & Imaging Sample Code 2007-11-01
ButtonMadness (HTML) (DMG) (ZIP)
Demonstrates how to use the various types of buttons using a nib file or programatically.
Cocoa, Tools, User Experience Sample Code 2007-10-30
CFProxySupportTool (HTML) (DMG) (ZIP)
Shows how to use the CFProxySupport APIs to decide whether a network connection should pass through a proxy.
Core Foundation, Darwin, Networking Sample Code 2007-10-29
NullAuthPlugin (HTML) (DMG) (ZIP)
Use this as a template for writing an authorization plugin, or as a tool to debug the authorization process.
Security Sample Code 2007-10-26
PreLoginAgents (HTML) (DMG) (ZIP)
Pre-login launchd agents to display UI using AppKit and HIToolbox.
Carbon, Cocoa Sample Code 2007-10-26
Cocoa OpenGL (HTML) (DMG) (ZIP)
Demonstrates using Cocoa with OpenGL, including window setup and event handling.
Cocoa, Games, Graphics & Imaging, Hardware & Drivers, Performance Sample Code 2007-10-22
CalendarItems (HTML) (DMG) (ZIP)
Creates new iCal Events and Tasks ("To Do's") using Objective-C 2 and the Calendar Store framework
Apple Applications Sample Code 2007-10-15
QTKitThreadsExporter (HTML) (DMG) (ZIP)
Demonstrates QTKit threading APIs by performing concurrent exports on separate threads.
Cocoa, QuickTime Sample Code 2007-10-08
CIVideoDemoGL (HTML) (DMG) (ZIP)
CIVideoDemoGL demonstrates using Core Image with QuickTime and Core Video
Graphics & Imaging, QuickTime Sample Code 2007-10-03
MassiveImage (HTML) (DMG) (ZIP)
Shows how to use a CGDataProvider to save a very large image with Image IO
Carbon, Cocoa, Games, Graphics & Imaging, Performance Sample Code 2007-09-27
Core Animation QuickTime Layer (HTML) (DMG) (ZIP)
Shows the use of controls in a Layer over a Core Animation QTMovieLayer
Cocoa, Graphics & Imaging, QuickTime Sample Code 2007-09-26
NotifyTool (HTML) (DMG) (ZIP)
Shows how to use the BSD notify API.
Darwin Sample Code 2007-09-25
BundleLoader (HTML) (DMG) (ZIP)
Demonstrates how to load multiple Cocoa bundles or NSBundles (also known as plug-ins) into the main NSApplication.
Cocoa, User Experience Sample Code 2007-09-21
DTSCarbonShell (HTML) (DMG) (ZIP)
Provides a modern Mac OS X Carbon Application Skeleton
Carbon Sample Code 2007-09-20
QTKitTimeCode (HTML) (DMG) (ZIP)
Demonstrates how to use the QuickTime 32-bit Timecode Media Handler to Add and Remove Timecode Tracks.
Cocoa, QuickTime Sample Code 2007-09-19
Fiendishthngs (HTML) (DMG) (ZIP)
Fiendishthngs lists all the the Components it finds on the system and lets you query them for information.
Cocoa, QuickTime Sample Code 2007-09-13
Fader (HTML) (DMG) (ZIP)
Demonstrates fading of elements inside a Dashboard widget
Apple Applications Sample Code 2007-09-12
DockTile (HTML) (DMG) (ZIP)
Demonstrates how to customize your application's icon in the Dock by using the NSDockTile class.
Cocoa, User Experience Sample Code 2007-09-11
CreateMovieFromReferences (HTML) (DMG) (ZIP)
Shows how to create a movie from existing video samples in a file using AddMediaSampleReferences.
QuickTime Sample Code 2007-08-31
QTKitCreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a movie from a sequence of images.
QuickTime Sample Code 2007-08-31
QTKitMovieFrameImage (HTML) (DMG) (ZIP)
Using the QTMovie frameImageAtTime: withAttributes: method to get an image for the frame at a given time in a QTMovie.
QuickTime Sample Code 2007-08-31
QTKitPlayer (HTML) (DMG) (ZIP)
QTKit example code to open, edit, play, import and export QuickTime movies
Cocoa, QuickTime Sample Code 2007-08-31
Quartz 2D Shadings (HTML) (DMG) (ZIP)
Shows how to use CGShading and CGGradient objects to draw simple gradients.
Carbon, Cocoa, Graphics & Imaging Sample Code 2007-08-31
OpenGLCaptureToMovie (HTML) (DMG) (ZIP)
How to capture the screen on Mac OS X using OpenGL and save to a QuickTime movie.
Graphics & Imaging, QuickTime Sample Code 2007-08-30
QT Capture Widget (HTML) (DMG) (ZIP)
A Dashboard widget that uses the QTKit capture API to provide video and audio capture.
QuickTime Sample Code 2007-08-27
CAPlayThrough (HTML) (DMG) (ZIP)
Illustrates how to use the HAL's Audio Output Unit (AUHAL) for device input and the Default Output Audio Unit for output.
Audio Sample Code 2007-08-22
CaptureAndCompressIPBMovie (HTML) (DMG) (ZIP)
Captures video & recompresses it using H.264 also captures audio saving the output in a movie file.
QuickTime Sample Code 2007-08-14
SimpleCocoaApp (HTML) (DMG) (ZIP)
A basic Cocoa application for beginners to Cocoa and Objective-C.
Cocoa Sample Code 2007-08-07
MakeiPhoneRefMovie (HTML) (DMG) (ZIP)
Demonstrates how to generate QuickTime Reference Movies for iPhone.
Apple Applications, Internet & Web, QuickTime Sample Code 2007-08-03
Cocoa PDE with Carbon Printing (HTML) (DMG) (ZIP)
Application that uses a Cocoa PDE along with the Carbon Printing APIs.
Carbon, Graphics & Imaging, Printing, User Experience Sample Code 2007-07-27
CustomMediaIcons (HTML) (DMG) (ZIP)
Providing custom media icons for storage
Hardware & Drivers Sample Code 2007-07-10
Goodbye World (HTML) (DMG) (ZIP)
Demonstrates display and use of widget preferences to save a widget's state
Apple Applications Sample Code 2007-06-28
Hello Welt (HTML) (DMG) (ZIP)
Demonstrates localization techniques for Dashboard widgets
Apple Applications, Internationalization Sample Code 2007-06-25
Voices (HTML) (DMG) (ZIP)
Demonstrates use of the widget.system command from Dashboard
Apple Applications Sample Code 2007-06-25
Quartz 2D Transformer (HTML) (DMG) (ZIP)
Shows how to use Quartz 2D to manipulate an image
Carbon, Cocoa, Graphics & Imaging Sample Code 2007-06-21
Apply Firmware Password (HTML) (DMG) (ZIP)
Demonstrates how to create an Automator Action for System Image Utility.
Apple Applications, Mac OS X Server, Scripting & Automation Sample Code 2007-06-12
AutomatorHandsOn (HTML) (DMG) (ZIP)
Illustrates several methods for building Automator Actions
Apple Applications, Scripting & Automation Sample Code 2007-06-12
JavaFrameEmbedding example (HTML) (DMG) (ZIP)
Small Cocoa application that demonstrates how to use JavaFrameEmbedding.framework
Cocoa, Internet & Web, Java, User Experience Sample Code 2007-06-12
LayerBackedOpenGLView (HTML) (DMG) (ZIP)
"LayerBackedOpenGLView" provides a simple example of hosting Cocoa controls as subviews of an NSOpenGLView.
Cocoa, Graphics & Imaging, User Experience Sample Code 2007-06-12
BasicCocoaAnimations (HTML) (DMG) (ZIP)
"BasicCocoaAnimations" demonstrates the use of the animator proxy to easily animate Cocoa views and windows.
Cocoa, Graphics & Imaging, User Experience Sample Code 2007-06-11
CustomSave (HTML) (DMG) (ZIP)
Demonstrates how to customize the NSSavePanel.
Cocoa, User Experience Sample Code 2007-06-11
HTML Editing Toolbar (HTML) (DMG) (ZIP)
Implements an HTML editing toolbar for Safari using JavaScript and CSS
Internet & Web Sample Code 2007-06-11
MenuItemView (HTML) (DMG) (ZIP)
Demonstrates embedding an NSView inside a menu item or NSMenuItem.
Cocoa, User Experience Sample Code 2007-06-11
NSOperationSample (HTML) (DMG) (ZIP)
Demonstrates how to use the NSOperation and NSOperationQueue classes.
Cocoa Sample Code 2007-06-11
PinBallHighScores (HTML) (DMG) (ZIP)
Demonstrates use of Quartz Composer for displaying data within an application
Graphics & Imaging Sample Code 2007-06-11
QuartzComposerSamplePatches (HTML) (DMG) (ZIP)
A short list of new patches in Quartz Composer Mac OS X 10.5
Apple Applications, Cocoa, Graphics & Imaging Sample Code 2007-06-11
ViewController (HTML) (DMG) (ZIP)
Demonstrates how to use "NSViewController".
Cocoa, Printing, User Experience Sample Code 2007-06-11
Aperture Image Resizer (HTML) (DMG) (ZIP)
Sample Aperture Export Plug-In code
Apple Applications Sample Code 2007-06-08
AudioQueueTools (HTML) (DMG) (ZIP)
Demonstrates usage of the AudioQueue API
Audio Sample Code 2007-06-08
Bound Button (HTML) (DMG) (ZIP)
Illustrates using Cocoa bindings to bind a button's target and action parameters.
Cocoa Sample Code 2007-06-08
CustomAtomicStoreSubclass (HTML) (DMG) (ZIP)
Illustrates the implementation of a custom Core Data atomic store.
Cocoa Sample Code 2007-06-08
MoreSCF (HTML) (DMG) (ZIP)
High-level wrapper around System Configuration framework, making common operations easy.
Darwin, Networking Sample Code 2007-06-07
Simple Bindings Adoption (HTML) (DMG) (ZIP)
A simple example that illustrates the adoption of Cocoa Bindings.
Cocoa Sample Code 2007-06-07
TrackBall (HTML) (DMG) (ZIP)
Demonstrates how to build a custom control based on the NSControl class.
Cocoa, User Experience Sample Code 2007-06-07
JSInterpreter (HTML) (DMG) (ZIP)
Simple JavaScript interpreter
Cocoa, Internet & Web Sample Code 2007-06-06
JSPong (HTML) (DMG) (ZIP)
Pong with JavaScript AI
Cocoa, Internet & Web Sample Code 2007-06-06
PredicateEditorSample (HTML) (DMG) (ZIP)
Demonstrates how to use the NSPredicateEditor class.
Apple Applications, Cocoa, User Experience Sample Code 2007-06-06
PrefsPane (HTML) (DMG) (ZIP)
A Cocoa sample System Preferences bundle that demonstrates how to use the NSPreferencePane class.
Cocoa, User Experience Sample Code 2007-06-06
SpeedometerView (HTML) (DMG) (ZIP)
Shows how to make a custom NSView.
Cocoa, User Experience Sample Code 2007-06-06
WebKitPluginStarter (HTML) (DMG) (ZIP)
Shows how to make a minimal WebKit plug-in.
Apple Applications, Cocoa, Internet & Web Sample Code 2007-06-06
WebKitPluginWithJavaScript (HTML) (DMG) (ZIP)
Shows how to call JavaScript from a WebKit plug-in and vice versa.
Apple Applications, Cocoa, Internet & Web Sample Code 2007-06-06
CoreTextArc (HTML) (DMG) (ZIP)
Illustrates the use of fonts, lines, and runs in a CoreText text drawing Carbon application.
Carbon, Core Foundation, Text & Fonts, User Experience Sample Code 2007-06-04
WebKitPluginWithSimpleGUI (HTML) (DMG) (ZIP)
A WebKit plug-in with an Interface Builder GUI
Apple Applications, Cocoa, Internet & Web Sample Code 2007-06-04
AppleFWAudio Vendor Specific Override Driver (HTML) (DMG) (ZIP)
This KEXT allows third-party vendors to customize AppleFWAudio with their own device-specific information.
Hardware & Drivers Sample Code 2007-06-01
Core Data HTML Store (HTML) (DMG) (ZIP)
Implementation of a Core Data atomic store based on HTML tables
Cocoa Sample Code 2007-06-01
NewsReader (HTML) (DMG) (ZIP)
Demonstrates use of the Publication Subscription framework to create a simple RSS reader application.
Cocoa, Internet & Web, Networking Sample Code 2007-06-01
OSXAdapter (HTML) (DMG) (ZIP)
Hooks into the Mac OS X Application Menu with the com.apple.eawt classes via reflection.
Java Sample Code 2007-06-01
TextLayoutDemo (HTML) (DMG) (ZIP)
Customizing NSTextView with NSLayoutManager and a custom NSTextContainer.
Cocoa, Text & Fonts, User Experience Sample Code 2007-06-01
TimelineToTC (HTML) (DMG) (ZIP)
Sample application demonstrating parsing/conversion of FCP XML Files.
Apple Applications Sample Code 2007-06-01
CrossEvents (HTML) (DMG) (ZIP)
Demonstrates how to send CarbonEvents and NSNotifications between Carbon and Cocoa.
Carbon, Cocoa Sample Code 2007-05-31
Departments and Employees (HTML) (DMG) (ZIP)
Source code for NSPersistentDocument Core Data Tutorial.
Cocoa Sample Code 2007-05-31
SMARTQuery (HTML) (DMG) (ZIP)
Demonstration of how to access and use S.M.A.R.T. disk monitoring functionality
Hardware & Drivers, Mac OS X Server, Storage Sample Code 2007-05-30
HIView-NSView (HTML) (DMG) (ZIP)
Demonstrates how to embed an NSView within an HIView in a Carbon window.
Carbon, Porting, User Experience Sample Code 2007-05-29