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
Sort by
Resource Type
Sorted by
Date
aiffwriter.win (HTML) (DMG) (ZIP)
Deprecated - A Sound Manager sound output device component.
QuickTime Sample Code 2003-01-14
AlwaysPreview (HTML) (DMG) (ZIP)
Demonstrates how to force the preview enabled mode by install a modal dialog filter proc in CustomGetFilePreview.
QuickTime Sample Code 2003-01-14
AnimatedSlider (HTML) (DMG) (ZIP)
Demonstrates the use of an NSTimer to animate a control in Cocoa.
Cocoa Sample Code 2003-01-14
ATSUICurveAccessDemo (HTML) (DMG) (ZIP)
Demonstrates low-level ATSUI APIs which allow access to raw glyph curve data.
Carbon, Internationalization Sample Code 2003-01-14
ATSUIDirectAccessDemo (HTML) (DMG) (ZIP)
Demonstrates some basic manipulations of the ATSUI DirectAccess api.
Carbon, Internationalization, Text & Fonts Sample Code 2003-01-14
audioburntest (HTML) (DMG) (ZIP)
Uses the DRTrackCallbackProc and track properties to create a RedBook audio CD from AIFF files.
Carbon Sample Code 2003-01-14
audiocodec (HTML) (DMG) (ZIP)
A Sound Manager compressor and decompressor example supporting the uLaw format.
QuickTime Sample Code 2003-01-14
audiocodec.win (HTML) (DMG) (ZIP)
An example codec, a compressor and decompressor supporting the uLaw format.
QuickTime Sample Code 2003-01-14
audioconverter (HTML) (DMG) (ZIP)
SoundConverter routines to convert AIFF and AIFC files into AIFF/AIFC or QuickTime. Parse AIFF/AIFC files.
QuickTime Sample Code 2003-01-14
audioconverter.win (HTML) (DMG) (ZIP)
SoundConverter routines to convert AIFF and AIFC files into AIFF/AIFC or QuickTime. Parse AIFF/AIFC files.
QuickTime Sample Code 2003-01-14
BasicInputMethod (HTML) (DMG) (ZIP)
An input method implemented as a text service component for Mac OS X.
Carbon, Text & Fonts, User Experience Sample Code 2003-01-14
BlitNoVBL (HTML) (DMG) (ZIP)
Shows how to draw directly to the screen without syncing to the VBL of the monitor.
Graphics & Imaging, Performance Sample Code 2003-01-14
BlitVBL (HTML) (DMG) (ZIP)
Shows how to have Mac OS X try its best to sync to the VBL for you.
Games, Graphics & Imaging, Hardware & Drivers, Performance Sample Code 2003-01-14
bMoviePalette (HTML) (DMG) (ZIP)
Shows a rudimentary QuickTime movie editor in a Cocoa Interface Builder palette.
Cocoa, QuickTime Sample Code 2003-01-14
bMoviePaletteCocoa (HTML) (DMG) (ZIP)
A QuickTime movie editor in Cocoa as an Interface Builder Palette. From the 2001 WWDC.
Cocoa, QuickTime, Tools Sample Code 2003-01-14
bulkerase (HTML) (DMG) (ZIP)
Demonstrates how to erase media using the DiscRecording framework.
Carbon Sample Code 2003-01-14
BurntTextSampleCode (HTML) (DMG) (ZIP)
Converts text tracks of a movie to new text tracks with bit map representations of the text.
QuickTime Sample Code 2003-01-14
CapabilitiesSample (HTML) (DMG) (ZIP)
Shows how to detect Image Capture device capabilities and send messages to devices with ICAObjectSendMessage.
Apple Applications Sample Code 2003-01-14
CarbonQTGraphicImport (HTML) (DMG) (ZIP)
Illustrates how to use the QuickTime GraphicImporter components.
QuickTime Sample Code 2003-01-14
CarbonQuartzDrawingWPrinting (HTML) (DMG) (ZIP)
Deprecated - Demonstrates mixing QuickDraw and Quartz 2D drawing both on screen and during printing.
Carbon, Graphics & Imaging, Printing Sample Code 2003-01-14
CD-ROM Detection (HTML) (DMG) (ZIP)
Shows how to determine whether a drive is a CD-ROM drive.
Hardware & Drivers Sample Code 2003-01-14
CFPreferences (HTML) (DMG) (ZIP)
Shows how to use the CFPreferences APIs to access user preferences.
Carbon, Core Foundation Sample Code 2003-01-14
CFPrefsDumper (HTML) (DMG) (ZIP)
Shows how to use the CFPreferences APIs to access information about the current user preferences.
Carbon, Core Foundation Sample Code 2003-01-14
CGDrawPicture (HTML) (DMG) (ZIP)
Deprecated - Shows how to use the QDPictDrawToCGContext API.
Cocoa, Graphics & Imaging Sample Code 2003-01-14
CGGamma (HTML) (DMG) (ZIP)
Shows how to use CGDirectDisplay calls to manipulate display gamma tables.
Games, Graphics & Imaging Sample Code 2003-01-14
ChromaKeyMovie (HTML) (DMG) (ZIP)
Demonstrates alternative approaches to removing a color from a QuickTime movie.
QuickTime Sample Code 2003-01-14
Cocoa - SGDataProc (HTML) (DMG) (ZIP)
Uses a Sequence Grabber data function and an NSQuickDrawView to simulate a preview operation for captured video.
Cocoa, QuickTime Sample Code 2003-01-14
CocoaCreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a QuickTime movie from a set of Cocoa JPEG NSImage objects.
QuickTime Sample Code 2003-01-14
CocoaDragAndDrop (HTML) (DMG) (ZIP)
Implement Drag-and-Drop functionality in Cocoa (uses images; can be extended to support other data types).
Cocoa Sample Code 2003-01-14
CocoaVideoFrameToGWorld (HTML) (DMG) (ZIP)
Demonstrates how to draw each frame of a QuickTime movie into a Cocoa NSQuickDrawView.
Cocoa, QuickTime Sample Code 2003-01-14
CocoaVideoFrameToNSImage (HTML) (DMG) (ZIP)
Demonstrates how to create an NSImage for each frame of a QuickTime movie.
Cocoa, QuickTime Sample Code 2003-01-14
Color Sampler (HTML) (DMG) (ZIP)
Demonstrates one way to sample the color at a given point in an NSView.
Cocoa Sample Code 2003-01-14
ColorBars (HTML) (DMG) (ZIP)
Shows how to enumerate, select, capture, manipulate, draw to, and release displays using the CGDirectDisplay API.
Carbon, Cocoa, Graphics & Imaging Sample Code 2003-01-14
ColorSyncDevices (HTML) (DMG) (ZIP)
Demonstrates how to use the new ColorSync Device Support APIs introduced with Mac OS X.
Carbon, Graphics & Imaging Sample Code 2003-01-14
ColorSyncDevices-Cocoa (HTML) (DMG) (ZIP)
Demonstrates how to use the new ColorSync Device Manager routines in the Cocoa environment.
Carbon, Cocoa Sample Code 2003-01-14
CompressMovies (HTML) (DMG) (ZIP)
Shows how to use QuickTime movie compression in an application.
QuickTime Sample Code 2003-01-14
ConvertMovieSndTrack (HTML) (DMG) (ZIP)
Demonstrates using the Sound Converter to transcode a Sound Track from one audio encoding format to another.
QuickTime Sample Code 2003-01-14
ConvertToMovieJr (HTML) (DMG) (ZIP)
Shows how to recompress QuickTime movies using the Image Compression Manager routines.
QuickTime Sample Code 2003-01-14
CreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a QuickTime Movie with both a video and audio track.
QuickTime Sample Code 2003-01-14
CreateMovieJava (HTML) (DMG) (ZIP)
Deprecated - Creates a Movie from Java drawing and a sound file.
QuickTime Sample Code 2003-01-14
Cropped Image (HTML) (DMG) (ZIP)
Demonstrates how to extract a sub-image from another image, and some ways of indicating a selection.
Cocoa Sample Code 2003-01-14
CTMClip (HTML) (DMG) (ZIP)
Deprecated - Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing with clipping.
Carbon, Cocoa, Graphics & Imaging Sample Code 2003-01-14
CTMDemo (HTML) (DMG) (ZIP)
Deprecated - Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing without clipping.
Carbon, Cocoa, Graphics & Imaging Sample Code 2003-01-14
databurntest (HTML) (DMG) (ZIP)
Demonstrates how to create a DRFolderRef and burn it to disc.
Carbon Sample Code 2003-01-14
DecompressionAndScaling (HTML) (DMG) (ZIP)
Shows how to convert a version 2 PICT to a compressed QuickTime data buffer.
QuickTime Sample Code 2003-01-14
DeskPictAppDockMenu (HTML) (DMG) (ZIP)
How to add a dynamic Dock menu to your Cocoa application
Cocoa, Scripting & Automation Sample Code 2003-01-14
DigitizerShell (HTML) (DMG) (ZIP)
Simple sequence grabber and vdig test bed for testing vdig and digitizer functionality.
QuickTime Sample Code 2003-01-14
DragAndDrop Shell (HTML) (DMG) (ZIP)
A Drag and Drop shell for producing QuickTime drag and drop tools.
Carbon, QuickTime Sample Code 2003-01-14
DrawTextCodec (HTML) (DMG) (ZIP)
This is a QuickTime codec for compressing black and white pictures into the glyphs of a font.
QuickTime Sample Code 2003-01-14
EnhancedDataBurn (HTML) (DMG) (ZIP)
Objective-C sample which shows how to burn a data disc containing a complete virtual filesystem.
Cocoa Sample Code 2003-01-14
Eraser (HTML) (DMG) (ZIP)
Uses the DiscRecordingUI framework to present the standard erase, selection and progress dialogs.
Cocoa Sample Code 2003-01-14
ExampleCodec (HTML) (DMG) (ZIP)
An example of am image compression codec that handles both compression and decompression of images.
QuickTime Sample Code 2003-01-14
ExampleVideoPanel (HTML) (DMG) (ZIP)
An example Sequence Grabber Video Panel Component.
QuickTime Sample Code 2003-01-14
ExampleVideoPanel.win (HTML) (DMG) (ZIP)
An example Sequence Grabber Video Panel Component.
QuickTime Sample Code 2003-01-14
FinderDragPro (HTML) (DMG) (ZIP)
Sample file illustrating drag and drop techniques for use with file system objects.
Carbon Sample Code 2003-01-14
Folder Watching (HTML) (DMG) (ZIP)
Demonstrates how a background only application can use Apple events to pass work to another application.
Carbon Sample Code 2003-01-14
FullScreen (HTML) (DMG) (ZIP)
Shows how to use BeginFullScreen and EndFullScreen to enter and exit full-screen mode.
Carbon, Graphics & Imaging, QuickTime Sample Code 2003-01-14
GetHWEthernetAddr (HTML) (DMG) (ZIP)
Deprecated - Shows how to obtain the hardware Ethernet address of a machine.
Carbon, Hardware & Drivers, Networking Sample Code 2003-01-14
GetMACAddressSample (HTML) (DMG) (ZIP)
Demonstrates how to retrieve the MAC address for each Ethernet interface from the Mac OS X I/O Registry.
Carbon, Cocoa, Darwin, Games, Hardware & Drivers, Mac OS X Server, Networking, Security Sample Code 2003-01-14
GetSetOptions (HTML) (DMG) (ZIP)
Demonstrates a variety of uses of Open Transport's option management routines.
Carbon, Games, Hardware & Drivers, Internet & Web, Mac OS X Server, Networking Sample Code 2003-01-14
Graphic Import-Export (HTML) (DMG) (ZIP)
Demonstrates how to Draw, Scale, Rotate and Export images using QuickTime Graphics Importers and Exporters.
QuickTime Sample Code 2003-01-14
graphicimporter.win (HTML) (DMG) (ZIP)
Demonstrates ways of using QuickTime graphics importers.
QuickTime Sample Code 2003-01-14
GroupDrawing (HTML) (DMG) (ZIP)
Deprecated - Groups QuickTime drawing-capable objects into the display space of a single QTCanvas.
QuickTime Sample Code 2003-01-14
hacktv (HTML) (DMG) (ZIP)
Illustrates how to use use the Sequence Grabber APIs to capture video and create QuickTime Movies.
QuickTime Sample Code 2003-01-14
hacktv.win (HTML) (DMG) (ZIP)
Illustrates how to use use the Sequence Grabber APIs to capture video and create QuickTime Movies.
QuickTime Sample Code 2003-01-14
ICADownloadFirst (HTML) (DMG) (ZIP)
Demonstrates using the Image Capture APIs asynchronously to download the first image in the first device found.
Apple Applications Sample Code 2003-01-14
ICAObjectDumper (HTML) (DMG) (ZIP)
A command-line tool that uses the Image Capture APIs to display the ICAObject hierarchy.
Apple Applications Sample Code 2003-01-14
ImageCompositing (HTML) (DMG) (ZIP)
Deprecated - Applies compositing effects such as blend and transparency. Also records a Movie using the Compositor.
QuickTime Sample Code 2003-01-14
ImagesToQTMovie (HTML) (DMG) (ZIP)
Creates a QuickTime movie from the images of any connected camera.
Apple Applications, Cocoa Sample Code 2003-01-14
ImportExportMovie (HTML) (DMG) (ZIP)
Shows how to import files into QuickTime movies and export movie data.
QuickTime Sample Code 2003-01-14
Inside Mac ICM Code (HTML) (DMG) (ZIP)
Demonstrates the use of the QuickTime Image Compression Manager.
QuickTime Sample Code 2003-01-14
Inside Mac Movie TB Code (HTML) (DMG) (ZIP)
Deprecated - Macintosh Movie Toolbox sample code.
QuickTime Sample Code 2003-01-14
JDragNDrop (HTML) (DMG) (ZIP)
Deprecated - Demonstrates building a simple view to implement Drag-and-Drop functionality in Cocoa-Java.
Cocoa, Java, Mac OS X Server, Tools Sample Code 2003-01-14
JOutlineView (HTML) (DMG) (ZIP)
Exhibiting the use of NSOutlineView in Cocoa-Java in a simple program.
Cocoa Sample Code 2003-01-14
JPEG File Interchange Format (HTML) (DMG) (ZIP)
Preview component which lets you make previews from JFIF files in the QuickTime StandardFilePreview dialog.
QuickTime Sample Code 2003-01-14
LayoutManagerDemo (HTML) (DMG) (ZIP)
Demonstrates the layout manager using rollovers with different colors for lines, words and characters under the mouse.
Cocoa Sample Code 2003-01-14
ListMania (HTML) (DMG) (ZIP)
Demonstrates a variety of techniques for using Open Transport's list utility routines.
Carbon, Games, Mac OS X Server, Networking Sample Code 2003-01-14
MakeEffectMovie (HTML) (DMG) (ZIP)
Creating a movie with an effects track allowing the user to specify the effect using the standard effects dialog.
QuickTime Sample Code 2003-01-14
MCComponent (HTML) (DMG) (ZIP)
A sample QuickTime component skeleton.
QuickTime Sample Code 2003-01-14
mdiplayer.win (HTML) (DMG) (ZIP)
Demonstrates how to display QuickTime movies using the MDI (multiple document interface).
QuickTime Sample Code 2003-01-14
mfc.win (HTML) (DMG) (ZIP)
Contains a number of QuickTime samples using MFC: MFCMDIPlayer, MFCQTClasses, QTClasses, SimpleEdit, SimplePlayer.
QuickTime Sample Code 2003-01-14
Mode (HTML) (DMG) (ZIP)
Shows how to enumerate displays and list the available modes for each display.
Carbon, Games, Graphics & Imaging Sample Code 2003-01-14
ModeWhacker (HTML) (DMG) (ZIP)
Shows how to enumerate, select, capture, manipulate, and release displays using the CGDirectDisplay API.
Carbon, Games, Graphics & Imaging Sample Code 2003-01-14
MoreAppleEvents (HTML) (DMG) (ZIP)
Provides routines that assist with the creation and sending of Apple events and object descriptors.
Carbon, Scripting & Automation, Tools Sample Code 2003-01-14
MoreFiles (HTML) (DMG) (ZIP)
Shows various File Manager operations (file copy, etc.) through a collection of high-level routines.
Carbon, Cocoa Sample Code 2003-01-14
MoreOSL (HTML) (DMG) (ZIP)
C library for implementing AppleScript support within your application.
Carbon, Scripting & Automation Sample Code 2003-01-14
Moriarity (HTML) (DMG) (ZIP)
Implementing a Cocoa GUI that wraps command-line functionality, calling a UNIX task and presenting the results in a GUI.
Cocoa, Darwin Sample Code 2003-01-14
Movie From DataRef (HTML) (DMG) (ZIP)
Demonstrates Asynchronous Movie loading and the NewMovieFromDataRef API. Part of "An Introduction to QuickTime".
QuickTime Sample Code 2003-01-14
MovieBrowser (HTML) (DMG) (ZIP)
BrowserMaker creates a document with links to other movies in a folder.
QuickTime Sample Code 2003-01-14
MovieSprites (HTML) (DMG) (ZIP)
Testing for mouse clicks on a sprite. Part of "An Introduction to QuickTime."
QuickTime Sample Code 2003-01-14
MovieToAIFF (HTML) (DMG) (ZIP)
Using Movie Export Component to export QuickTime movie files into AIFF files.
QuickTime Sample Code 2003-01-14
MP3 Player (HTML) (DMG) (ZIP)
How to wrap a command-line UNIX/Linux application in a Cocoa GUI, calling a the command-line app through NSTask.
Cocoa, Open Source Sample Code 2003-01-14
MPFileCopy (HTML) (DMG) (ZIP)
Demonstrates how to copy a folder and its contents using the HFS Plus APIs from an MP task.
Carbon, Performance Sample Code 2003-01-14
MRJToolkitStubs (HTML) (DMG) (ZIP)
Deprecated - Stubs of the MRJToolkit API for building or distributing on non-Mac OS X systems.
Java Sample Code 2003-01-14
MyComponent (HTML) (DMG) (ZIP)
Sample component shell, useful for writing a new component.
QuickTime Sample Code 2003-01-14
MyRegisterComponent (HTML) (DMG) (ZIP)
This component registers another component and makes it the default component.
QuickTime Sample Code 2003-01-14
NameAndAddress (HTML) (DMG) (ZIP)
A single window utility that gets a host name from an IP address or an IP address from a hostname.
Cocoa, Internet & Web, Networking Sample Code 2003-01-14
NamingTableAccess (HTML) (DMG) (ZIP)
Digs out the contents of the NamingTable in a TrueType 'sfnt'.
Carbon, Cocoa, Core Foundation, Graphics & Imaging, Text & Fonts Sample Code 2003-01-14
NewCCursor (HTML) (DMG) (ZIP)
Deprecated - Shows how to create a black and white 'CURS' and a color 'crsr' cursor resource by hand.
Carbon, Graphics & Imaging, User Experience Sample Code 2003-01-14
NoCopyReceives (HTML) (DMG) (ZIP)
Demonstrates using no-copy receives under Open Transport.
Carbon, Games, Hardware & Drivers, Internet & Web, Mac OS X Server, Networking Sample Code 2003-01-14