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
QTKitAdvancedDocument (HTML) (DMG) (ZIP)
Enhances the QTKitSimpleDocument sample to resize the movie window and limit selectable file types in open panels
QuickTime Sample Code 2005-08-01
QTKitFrameStepper (HTML) (DMG) (ZIP)
Demonstrates how to display each video frame of a given movie
QuickTime Sample Code 2005-08-01
QTKitProgressTester (HTML) (DMG) (ZIP)
Demonstrates how to call the -movie:shouldContinueOperation: delegate method during lengthy movie operations
QuickTime Sample Code 2005-08-01
QTKitSimpleDocument (HTML) (DMG) (ZIP)
The simplest document-based Cocoa application that opens and displays QuickTime movies
QuickTime Sample Code 2005-08-01
VideoViewer (HTML) (DMG) (ZIP)
Simple example of video rendering using QuickTime visual contexts, OpenGL, Core Video and Core Image.
Cocoa, Graphics & Imaging, Performance, QuickTime Sample Code 2005-08-01
CFLocalServer (HTML) (DMG) (ZIP)
Uses UNIX domain sockets to communicate between client and server programs on the same machine.
Core Foundation, Darwin Sample Code 2005-07-26
SimpleDial (HTML) (DMG) (ZIP)
Demonstrates management of dialup connections, such as PPP, using System Configuration framework network connection API.
Core Foundation, Darwin, Networking Sample Code 2005-07-26
SimpleReach (HTML) (DMG) (ZIP)
Demonstrates network host reachability testing using the System Configuration framework asynchronous network reachability API.
Core Foundation, Darwin, Networking Sample Code 2005-07-26
ThreadsExporter (HTML) (DMG) (ZIP)
Demonstrates importing and exporting still images in different formats on separate threads.
Cocoa, QuickTime Sample Code 2005-07-26
ThreadsImportMovie (HTML) (DMG) (ZIP)
Demonstrates importing and displaying QuickTime Movies on separate threads.
QuickTime Sample Code 2005-07-26
BackgroundExporter (HTML) (DMG) (ZIP)
Demonstrates techniques which can be used to export QuickTime movies in a separate export process.
Carbon, Cocoa, QuickTime Sample Code 2005-07-22
ThreadsImporter (HTML) (DMG) (ZIP)
Demonstrates importing and displaying still images on separate threads.
QuickTime Sample Code 2005-07-22
QTCoreImage101 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using Core Image filters and the new video pipeline.
Cocoa, Graphics & Imaging, QuickTime Sample Code 2005-07-19
SimpleHIMovieViewPlayer (HTML) (DMG) (ZIP)
Demonstrates how to use HIMovieView to play QuickTime Movies.
Carbon, QuickTime Sample Code 2005-07-15
EnhancedAudioBurn (HTML) (DMG) (ZIP)
This Objective-C sample demonstrates how to burn RedBook Audio CDs.
Cocoa Sample Code 2005-07-06
Quartz Composer QCTV (HTML) (DMG) (ZIP)
Shows how to build a fake TV system using Quartz Composer as the foundation motion graphics.
Apple Applications, Cocoa, Graphics & Imaging, QuickTime Sample Code 2005-07-06
AppearanceSampleUpdated (HTML) (DMG) (ZIP)
Sample Code for the WWDC 402 Adopting Xcode Hands-on session.
Tools Sample Code 2005-06-27
QTAudioExtractionPanel (HTML) (DMG) (ZIP)
Enhances the QTKitPlayer to add an Audio Channel Mapping and Extraction panel
Audio, Cocoa, QuickTime Sample Code 2005-06-27
TextTrack (HTML) (DMG) (ZIP)
Demonstrates some simple operations on Final Cut Pro XML files
Apple Applications Sample Code 2005-06-27
CocoaSOAP (HTML) (DMG) (ZIP)
Demonstrates implementing a SOAP client and server in Cocoa.
Cocoa Sample Code 2005-06-06
Duplicate Finder Items (HTML) (DMG) (ZIP)
Shows how to build an Automator action targeting Finder using AppleScript.
Apple Applications, Scripting & Automation Sample Code 2005-06-06
FSFileOperation (HTML) (DMG) (ZIP)
This sample shows how to use the FSFileOperation API which supports copying and moving filesystem objects.
Carbon Sample Code 2005-06-06
Reducer (HTML) (DMG) (ZIP)
Simple utility for rescaling bitmapped images. Demonstrates use of Core Image, NSAnimation, view drawing redirection.
Cocoa, Graphics & Imaging Sample Code 2005-06-06
SDKExample (HTML) (DMG) (ZIP)
Shows how to weak-link against the Carbon framework in various SDKs to adopt new OS features in a single executable.
Carbon, Porting, Tools, User Experience Sample Code 2005-06-06
Sketch-112 (HTML) (DMG) (ZIP)
Sketch is a Scriptable Graphics application. This sample adds certain Scriptable functionality to Sketch, as an example for use in WWDC 2005 Session 112.
Scripting & Automation Sample Code 2005-06-06
TemperatureTester (HTML) (DMG) (ZIP)
Shows how to add a simple Unit Test to Temperature Converter.
Tools Sample Code 2005-06-06
UnsharpMask (HTML) (DMG) (ZIP)
Demonstrates how to build Automator actions using Cocoa frameworks.
Apple Applications, Cocoa, Graphics & Imaging, User Experience Sample Code 2005-06-06
UpdateXcodeSubprojects (HTML) (DMG) (ZIP)
Updates all subprojects of an Xcode project to Xcode 2.1 format. Illustrates scripting techniques.
Porting, Scripting & Automation, Tools, User Experience Sample Code 2005-06-06
XcodeClientServer (HTML) (DMG) (ZIP)
Demonstrates how to manage multiple projects using new Xcode features.
Tools Sample Code 2005-06-06
AutoUpdater (HTML) (DMG) (ZIP)
This sample demonstrates Cocoa networking using the NSURL loading classes, NSURLConnection and NSURLDownload.
Cocoa, Internet & Web, Networking Sample Code 2005-06-01
BindingsJoystick (HTML) (DMG) (ZIP)
Illustrates a bindings-enabled subclass of NSView.
Cocoa Sample Code 2005-06-01
CocoaEcho (HTML) (DMG) (ZIP)
Cocoa example code showing how to write a simple client and server using NSStream.
Cocoa Sample Code 2005-06-01
CocoaHTTPServer (HTML) (DMG) (ZIP)
A Cocoa example showing how to write a very basic HTTP service.
Cocoa, Networking Sample Code 2005-06-01
CoreRecipes (HTML) (DMG) (ZIP)
Demonstrates the use of Core Data (persistency and object-graph management) with a variety of application projects.
Cocoa, User Experience Sample Code 2005-06-01
Custom_HIView_Tutorial (HTML) (DMG) (ZIP)
Tutorial presenting a step-by-step custom HIView development. All steps are documented and provided as standalone projects.
Carbon Sample Code 2005-06-01
DNSServiceMetaQuery (HTML) (DMG) (ZIP)
Shows how to discover Bonjour service types being advertised on the local network.
Core Foundation, Darwin, Networking Sample Code 2005-06-01
FilterDemo (HTML) (DMG) (ZIP)
Demonstrates how to write a filter AudioUnit with a custom Cocoa User Interface.
Audio Sample Code 2005-06-01
Fortune (HTML) (DMG) (ZIP)
Deprecated - Demonstrates use of a widget plug-in
Apple Applications Sample Code 2005-06-01
FSCreateFileAndOpenForkUnicode (HTML) (DMG) (ZIP)
Demonstartes the use of FSCreateFileAndOpenForkUnicode to create a file with restricted access on disk and a read/write access path.
Carbon Sample Code 2005-06-01
FSRemoveInheritedACEs (HTML) (DMG) (ZIP)
Demonstrates manipulating access control lists of existing file system objects using the File Manager.
Carbon Sample Code 2005-06-01
GridCalendar (HTML) (DMG) (ZIP)
Demonstrates how to add a custom job submission UI to the GridSample project.
Cocoa, Enterprise IT, Hardware & Drivers, Mac OS X Server, Networking Sample Code 2005-06-01
Hello World (HTML) (DMG) (ZIP)
Introductory Dashboard widget example
Apple Applications Sample Code 2005-06-01
HITextViewDemo (HTML) (DMG) (ZIP)
Overview of basic HITextView functionality, including Tiger's new font & spelling panel support.
Carbon, Text & Fonts, User Experience Sample Code 2005-06-01
ImageBrowserView (HTML) (DMG) (ZIP)
Implementing a simple HIView subclass
Carbon Sample Code 2005-06-01
ImageClient (HTML) (DMG) (ZIP)
Demonstrates how to use CFNetwork for synchronous and asynchronous operations, network diagnostics, proxy navigation, and authentication.
Carbon, Cocoa, Core Foundation, Games, Networking Sample Code 2005-06-01
ImageMapExample (HTML) (DMG) (ZIP)
Implements a custom NSView, an image map, and accessorizes it (i.e. makes it work with accessibility).
Cocoa, User Experience Sample Code 2005-06-01
Installer Tiger Examples (HTML) (DMG) (ZIP)
A walkthrough of using distribution scripts and other Tiger Installer features.
Tools, User Experience Sample Code 2005-06-01
iSpend (HTML) (DMG) (ZIP)
Demonstrates how to incorporate a number of Cocoa Tiger features into a simple application.
Cocoa Sample Code 2005-06-01
JustDraw (HTML) (DMG) (ZIP)
Sample code being used in the WWDC 2005 Hands-On session 215 "Moving from QD to Quartz"
Graphics & Imaging Sample Code 2005-06-01
Link Snoop (HTML) (DMG) (ZIP)
Shows how to use PDFKit to scan for and highlight link annotations in PDFs.
Cocoa, Graphics & Imaging Sample Code 2005-06-01
ManagedObjectDataFormatter (HTML) (DMG) (ZIP)
A Data Formatter for Xcode 2.0 and 2.1 that displays NSManagedObject * variables.
Cocoa, Core Foundation, Tools Sample Code 2005-06-01
MouseTracking (HTML) (DMG) (ZIP)
Sample code used in the WWDC 2005 Hands-On session 215 "Moving from QD to Quartz"
Carbon, Graphics & Imaging Sample Code 2005-06-01
Moving To GCC 4.0 (HTML) (DMG) (ZIP)
Shows how to fix code that GCC 3.3 accepts but GCC 4.0 doesn't.
Tools Sample Code 2005-06-01
MyPhoto (HTML) (DMG) (ZIP)
Demonstrates preferred techniques for working with the Image Capture APIs
Graphics & Imaging Sample Code 2005-06-01
NetworkAuthentication (HTML) (DMG) (ZIP)
Demonstrates authentication with Open Directory APIs and GSSAPI
Darwin, Enterprise IT, Security Sample Code 2005-06-01
OpenALExample (HTML) (DMG) (ZIP)
Basic example showing OpenAL usage in a 2D OpenGL environment
Audio, Cocoa, Games Sample Code 2005-06-01
People (HTML) (DMG) (ZIP)
This program demonstrates the use of the SyncServices framework.
Cocoa Sample Code 2005-06-01
QTKitCommandLine (HTML) (DMG) (ZIP)
Command-line tools for deleting movie segments and converting movies to 3GPP files
QuickTime Sample Code 2005-06-01
QTKitImport (HTML) (DMG) (ZIP)
Demonstrates movie import, advanced editing and playback with QTKit
QuickTime Sample Code 2005-06-01
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.
Apple Applications, Cocoa, Graphics & Imaging, QuickTime Sample Code 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.
Apple Applications, Cocoa, Graphics & Imaging, QuickTime Sample Code 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.
Apple Applications, Cocoa, Graphics & Imaging Sample Code 2005-06-01
Quartz Composer Texture (HTML) (DMG) (ZIP)
Shows how to use a Quartz Composer composition as an OpenGL texture.
Apple Applications, Cocoa, Games, Graphics & Imaging Sample Code 2005-06-01
Quartz Composer WWDC 2005 Composition (HTML) (DMG) (ZIP)
Shows how to build a parameterized motion graphics composition with Quartz Composer.
Apple Applications, Cocoa, Graphics & Imaging, Tools Sample Code 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.
Apple Applications, Cocoa, Graphics & Imaging Sample Code 2005-06-01
QuartzCache (HTML) (DMG) (ZIP)
Demonstrates several caching techniques using CGBitmapContext, CGImageRef re-use, CGLayerRefs, CGImageSource.
Graphics & Imaging, Performance Sample Code 2005-06-01
QuartzLines (HTML) (DMG) (ZIP)
Drawing Lines using Quartz's CGPath & CGContextStrokeLineSegments functions.
Carbon, Cocoa, Graphics & Imaging, Performance Sample Code 2005-06-01
ScriptView (HTML) (DMG) (ZIP)
Shows how to build a script editor application with a built-in script database using AppleScript Studio.
Scripting & Automation, Tools Sample Code 2005-06-01
Spotlight (HTML) (DMG) (ZIP)
Sample code that shows how to write Spotlight Importers.
Core Foundation, Storage Sample Code 2005-06-01
SpotlightAPI (HTML) (DMG) (ZIP)
Some small sample programs that Show how to use the Spotlight API in your programs.
Storage Sample Code 2005-06-01
TexturePerformanceDemo (HTML) (DMG) (ZIP)
OpenGL texture optimization demo for WWDC Session 214
Cocoa, Games, Graphics & Imaging Sample Code 2005-06-01
VertexPerformanceDemo (HTML) (DMG) (ZIP)
Vertex optimization demo for WWDC Session 214
Cocoa, Games, Graphics & Imaging Sample Code 2005-06-01
Worm (HTML) (DMG) (ZIP)
NSView performance demonstration. Uses a periodic timer to get best performance with Coalesced Update feature.
Cocoa, Graphics & Imaging Sample Code 2005-06-01
MoreFilesX (HTML) (DMG) (ZIP)
Deprecated - Shows various File Manager operations through a collection of high-level routines using HFS Plus APIs.
Carbon, Cocoa Sample Code 2005-05-13
ProfileSystem (HTML) (DMG) (ZIP)
Shows how to obtain the same information that System Profiler displays.
Carbon, Mac OS X Server Sample Code 2005-05-05
CarbonSketch (HTML) (DMG) (ZIP)
Core Graphics only example of a Sketch application implemented with HIToolbox. Shows 1x1-CGBitmapContext for hit-testing, printing.
Carbon, Graphics & Imaging, Printing Sample Code 2005-03-23
AudioBurn (HTML) (DMG) (ZIP)
Demonstrates how to create an object conforming to the DRTrackProduction protocol to create a RedBook audio CD.
Cocoa Sample Code 2005-03-17
DataBurn (HTML) (DMG) (ZIP)
Demonstrates how to create a DRFolder and burn it to disc.
Cocoa Sample Code 2005-03-17
QuartzShapes (HTML) (DMG) (ZIP)
Example Quartz functions that implement equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect
Carbon, Graphics & Imaging, Porting Sample Code 2005-03-08
SampleUSBAudioPlugin (HTML) (DMG) (ZIP)
USB audio plugin that performs a lowpass filtering operation on audio streamed through an audio USB Device.
Audio, Darwin, Hardware & Drivers Sample Code 2005-03-07
SwapLAF (HTML) (DMG) (ZIP)
Deprecated - How to set the look-and-feel in your Swing application at runtime.
Java Sample Code 2005-02-28
DockBrowser (HTML) (DMG) (ZIP)
Demonstrates how to use CFNetServices to take advantage of Bonjour service discovery and name resolution.
Carbon, Networking Sample Code 2005-02-08
PictureSharing (HTML) (DMG) (ZIP)
Demonstrates how to use NSNetServices to advertise a service using Bonjour.
Cocoa, Networking Sample Code 2005-02-08
PictureSharingBrowser (HTML) (DMG) (ZIP)
Demonstrates how to use NSNetServices to take advantage of Bonjour service discovery and name resolution.
Cocoa, Networking Sample Code 2005-02-08
NSGLImage (HTML) (DMG) (ZIP)
Deprecated - Demonstrates how to texture in OpenGL with an NSImage and/or NSBitmapImageRep
Cocoa, Games, Graphics & Imaging Sample Code 2004-12-01
MLTE_CustomScrolling (HTML) (DMG) (ZIP)
Shows how to implement MLTE's custom scrolling functionality
Carbon, Text & Fonts, User Experience Sample Code 2004-10-15
dist_fft (HTML) (DMG) (ZIP)
Gigaelement FFTs on Apple G5 clusters
Audio, Darwin, Hardware & Drivers, Performance Sample Code 2004-08-23
SpellingChecker CarbonCocoa Bundled (HTML) (DMG) (ZIP)
How to load and call a Cocoa bundle from a Carbon CFM or Mach-O application
Carbon, Cocoa Sample Code 2004-08-17
CFHostSample (HTML) (DMG) (ZIP)
Uses the CFHost API to do DNS hostname lookups and to determine host reachability.
Carbon, Core Foundation, Networking Sample Code 2004-04-20
DRDataBurnCarbonUI (HTML) (DMG) (ZIP)
DRDataBurnCarbonUI shows how to use the standard DiscRecording burn setup and progress panel from Carbon.
Carbon Sample Code 2004-04-09
DREraseCarbonUI (HTML) (DMG) (ZIP)
DREraseCarbonUI shows how to use the DiscRecording erase setup and progress panel from Carbon.
Carbon Sample Code 2004-04-09
GLCarbon1ContextPbuffer (HTML) (DMG) (ZIP)
Demostrates using OpenGL pixel buffers with a single shared context.
Carbon, Graphics & Imaging Sample Code 2004-03-26
GLCarbonSharedPbuffer (HTML) (DMG) (ZIP)
Demostrates sharing a single OpenGL pixel buffer with multiple other contexts.
Carbon, Graphics & Imaging Sample Code 2004-03-26
GLUTBasics (HTML) (DMG) (ZIP)
Simple GLUT example which can be used as starter code.
Graphics & Imaging Sample Code 2004-03-26
GLUTSurfaceTexture (HTML) (DMG) (ZIP)
Example of using the new glutSurfaceTexture.
Carbon, Graphics & Imaging Sample Code 2004-03-26
FSCopyObject (HTML) (DMG) (ZIP)
Copy engine for copying files and directories.
Carbon, Cocoa, Core Foundation Sample Code 2004-03-19
Video Hardware Info (HTML) (DMG) (ZIP)
Sample demonstrates how to query the video hardware for useful information.
Cocoa, Hardware & Drivers Sample Code 2004-02-12
NSOpenGL Fullscreen (HTML) (DMG) (ZIP)
Demonstrates how to create and switch between windowed and fullscreen OpenGL contexts using NSOpenGL.
Cocoa, Graphics & Imaging Sample Code 2004-02-11
ElectricImageComponent.win (HTML) (DMG) (ZIP)
Demonstrates how to build five QuickTime Components.
QuickTime Sample Code 2004-01-23
Verification (HTML) (DMG) (ZIP)
Objective-C example which demonstrates how to provide custom data verification for data written to disc.
Cocoa Sample Code 2004-01-23