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
GLSLShowpiece (HTML) (DMG) (ZIP)
GLSLShowpiece demonstrates several Vertex and Fragment shaders
Cocoa, Games, Graphics & Imaging Sample Code 2006-07-17
JSheets (HTML) (DMG) (ZIP)
Uses AWT Native Interface (JAWT) to Display Cocoa sheet dialogs in Java
Java Sample Code 2006-07-11
MovieVideoChart (HTML) (DMG) (ZIP)
Demonstrates direct access to video samples in movie files, using B-frame-aware APIs in QuickTime 7.
QuickTime Sample Code 2006-07-11
QTPixelBufferVCToCGImage (HTML) (DMG) (ZIP)
Demonstrates using QTPixelBufferContextCreate with NewMovieFromProperties to output pixel buffers from a movie and draw them.
Graphics & Imaging, QuickTime Sample Code 2006-07-07
AddTextMovie (HTML) (DMG) (ZIP)
Adds a text track to an existing movie selected by the user.
Java, QuickTime Sample Code 2006-06-28
ImageFile (HTML) (DMG) (ZIP)
Shows how to use GraphicsImporter to import and display a wide range of image file formats.
Java, QuickTime Sample Code 2006-06-28
QTSimpleApplet (HTML) (DMG) (ZIP)
Shows how to display any QuickTime content within a java.awt.Applet.
Java, QuickTime Sample Code 2006-06-28
QTStreamingApplet (HTML) (DMG) (ZIP)
Shows how to display QuickTime streaming content within a java.awt.Applet.
Java, QuickTime Sample Code 2006-06-28
TimeCode (HTML) (DMG) (ZIP)
Demonstrates how to add and remove TimeCode tracks to a movie.
Java, QuickTime Sample Code 2006-06-28
Test64BitMultiprec (HTML) (DMG) (ZIP)
Implements (PPC) A*Y+B where A & B are arrays of 64-bit words and Y is a 64-bit integer
Performance, Tools Sample Code 2006-06-09
CreatePictFile (HTML) (DMG) (ZIP)
Creates a QTComponent from a PICT, JPEG or GIF file using a GraphicsImporter.
Java, QuickTime Sample Code 2006-05-11
CustomMedia (HTML) (DMG) (ZIP)
Demonstrates how to subclass quicktime.std.movies.media.Media to support custom media types.
Java, QuickTime Sample Code 2006-05-11
DukeMovie (HTML) (DMG) (ZIP)
Demonstrates playback of any QuickTime content within a java.awt display space using a QTComponent.
Java, QuickTime Sample Code 2006-05-11
ImportExport (HTML) (DMG) (ZIP)
Demonstrates both importing and referencing a media file and performing a movie export with customisable settings.
Java, QuickTime Sample Code 2006-05-11
KeyboardController (HTML) (DMG) (ZIP)
Shows how to customise user controlled playback of a movie using the keyboard.
Java, QuickTime Sample Code 2006-05-11
MovieCallbacks (HTML) (DMG) (ZIP)
Shows how to display a QuickTime movie within a window and add Call-backs.
Java, QuickTime Sample Code 2006-05-11
MovieTextFinder (HTML) (DMG) (ZIP)
Shows how to search for text within the text track of a QuickTime movie.
Java, QuickTime Sample Code 2006-05-11
Music (HTML) (DMG) (ZIP)
Shows how to use QuickTime's music components.
Java, QuickTime Sample Code 2006-05-11
PlayMovie (HTML) (DMG) (ZIP)
Demonstrates QuickTime content playback within a java.awt.Frame using the QTFactory to create a QTComponent.
Java, QuickTime Sample Code 2006-05-11
PlaySound (HTML) (DMG) (ZIP)
Shows how to play a sound or midi file using AWT rather than a QTComponent.
Java, QuickTime Sample Code 2006-05-11
PlayTune (HTML) (DMG) (ZIP)
Shows how to use the TunePlayer to play a Tune using the QuickTime Music Architecture.
Java, QuickTime Sample Code 2006-05-11
TimeCallbackDemo (HTML) (DMG) (ZIP)
Demonstrates how to add and remove TimeCode tracks to a movie.
Java, QuickTime Sample Code 2006-05-11
ImageProducing (HTML) (DMG) (ZIP)
Demonstrates how to display any QuickTime drawing object using Java's ImageProducing model.
Java, QuickTime Sample Code 2006-05-05
LiveVideoMixer2 (HTML) (DMG) (ZIP)
An updated LiveVideoMixer with DV out over FireWire
Graphics & Imaging, QuickTime Sample Code 2006-05-05
SoundMemRecord (HTML) (DMG) (ZIP)
This code shows using the SoundManager SPB calls for simple audio recording to memory.
Java, QuickTime Sample Code 2006-05-05
SoundRecord (HTML) (DMG) (ZIP)
Shows using the SequenceGrabber for simple audio recording
Java, QuickTime Sample Code 2006-05-05
AudioDeviceNotify (HTML) (DMG) (ZIP)
Demonstrates how to enumerate audio devices attached to the system and how to handle device notifications
Audio, Carbon, Cocoa Sample Code 2006-04-21
Bouncy (HTML) (DMG) (ZIP)
Demostrates using Shark For Java to profile Java Applications
Java Sample Code 2006-04-17
Fractal Performance (HTML) (DMG) (ZIP)
Three fractal applications that show various bottlenecks and how they can be fixed.
Graphics & Imaging, Java, Performance, Tools Sample Code 2006-04-17
BlockedEventQueue (HTML) (DMG) (ZIP)
Counter-example: shows hang when Java ActionListener blocks AWTEventQueue
Java Sample Code 2006-04-13
CWCocoaComponent (HTML) (DMG) (ZIP)
Native color picker Integration for AWT/Swing applications using NSColorWell and NSColorPanel
Java Sample Code 2006-04-12
HelpHook (HTML) (DMG) (ZIP)
Simple Help Viewer integration for J2SE applications, using a native Cocoa library.
Java, User Experience Sample Code 2006-04-12
JavaSplashScreen (HTML) (DMG) (ZIP)
Deprecated - Quickly display a splash screen while instantiating the 1.4.x/1.5 JVM from a Cocoa application.
Java, Performance Sample Code 2006-04-12
MyFirstJNIProject (HTML) (DMG) (ZIP)
A Java application that calls the Address Book framework through the JNI
Java, Tools, User Experience Sample Code 2006-04-12
QCCocoaComponent (HTML) (DMG) (ZIP)
Displays Quartz Composer compositions inside a Swing JFrame
Java Sample Code 2006-04-12
simpleJavaLauncher (HTML) (DMG) (ZIP)
How to launch 1.4.x and future JVM's from a Core Foundation tool.
Java, Porting, Tools Sample Code 2006-04-12
SkyCreator (HTML) (DMG) (ZIP)
Demonstrates using the QuartzDebug utility with Java Applications by creating a random image of a starry sky.
Java Sample Code 2006-04-12
ExtractMovieAudioToAIFF (HTML) (DMG) (ZIP)
Demonstrates how to extract audio from QuickTime Movies and write the data to an AIFF file.
Audio, Cocoa, QuickTime Sample Code 2006-03-31
WcharDataFormatter (HTML) (DMG) (ZIP)
An example of how to write a custom data formatter.
Tools Sample Code 2006-03-31
DragItemAround (HTML) (DMG) (ZIP)
Illustrates creating a custom subclass of NSView.
Cocoa Sample Code 2006-03-16
SpecialPictureProtocol (HTML) (DMG) (ZIP)
Use a custom NSURLProtocol to create jpeg images in memory for display in a webView.
Cocoa, Internet & Web Sample Code 2006-03-13
HISimpleList (HTML) (DMG) (ZIP)
Illustrates how to create a simple list using the HIView APIs introduced in Mac OS X 10.2.
Carbon Sample Code 2006-03-03
QTSetMovieAudioDevice (HTML) (DMG) (ZIP)
Create a QT audio context for an audio output device and target a movie to render to the context
QuickTime Sample Code 2006-03-03
iTunesController (HTML) (DMG) (ZIP)
iTunesController allows you to control iTunes without having to bring it to the foreground.
Apple Applications, Carbon, Scripting & Automation, User Experience Sample Code 2006-02-23
QTCarbonCoreImage101 (HTML) (DMG) (ZIP)
Demonstrates how to render QuickTime Movies using Core Image filters and the new video pipeline.
Carbon, Graphics & Imaging, QuickTime Sample Code 2006-02-14
CheckExecutableArchitecture (HTML) (DMG) (ZIP)
Determine whether a particular Mach-O executable contains a version suitable for executing on a given processor architecture.
Carbon, Cocoa, Core Foundation, Darwin Sample Code 2006-02-07
CDROMSample (HTML) (DMG) (ZIP)
Demonstrates how to find CD-ROM media and read sectors from that media on Mac OS X.
Hardware & Drivers Sample Code 2006-01-31
SillyFrequencyLevels (HTML) (DMG) (ZIP)
Demonstrates how to obtain audio frequency levels from a Movie using SetMovieAudioFrequencyMeteringNumBands and GetMovieAudioFrequencyLevels APIs.
Audio, Carbon, Cocoa, QuickTime Sample Code 2006-01-25
CFNetworkHTTPDownload (HTML) (DMG) (ZIP)
Demonstrates how to download a URL using CFNetworking.
Carbon, Core Foundation, Networking Sample Code 2006-01-18
filesystem_examples (HTML) (DMG) (ZIP)
Collection of command line tools illustrating filesystem features.
Carbon, Cocoa, Core Foundation, Darwin Sample Code 2006-01-10
QTKitMovieShuffler (HTML) (DMG) (ZIP)
Demonstrates a simple QTKit movie player application.
Cocoa, QuickTime Sample Code 2006-01-03
SampleFilterScheme (HTML) (DMG) (ZIP)
Demonstrates a simple filter scheme which passes all operations through to its provider unchanged.
Darwin, Hardware & Drivers, Mac OS X Server, Storage Sample Code 2006-01-03
SimpleAudioExtraction (HTML) (DMG) (ZIP)
Demonstrates the QuickTime 7.0 Movie Audio Extraction APIs
Audio, QuickTime Sample Code 2006-01-03
ThreadsExportMovie (HTML) (DMG) (ZIP)
Demonstrates movie exporting using the QuickTime movie export component on separate threads of a Cocoa application.
Cocoa, QuickTime Sample Code 2006-01-03
WebKitCIPlugIn (HTML) (DMG) (ZIP)
This sample WebKit plugin for Safari demonstrate how to use CoreImage in a HTML page.
Apple Applications, Graphics & Imaging, Internet & Web Sample Code 2005-11-28
CreateMovie - C# (HTML) (DMG) (ZIP)
Visual C# application demonstrating the QuickTime 7 COM Control creating movies from images and saving them
QuickTime Sample Code 2005-11-09
CreateMovie - VB6 (HTML) (DMG) (ZIP)
Using the QuickTime 7 COM Control to create a movie from images and save the movie to disk
QuickTime Sample Code 2005-11-09
EventMonitorTest (HTML) (DMG) (ZIP)
Receive notification of all keyboard, mouse, and tablet events passed to other processes.
Carbon, Core Foundation Sample Code 2005-11-09
MoviePlayer - C# (HTML) (DMG) (ZIP)
Microsoft Visual C# application which uses the QuickTime 7 COM Control to display and manipulate movies
QuickTime Sample Code 2005-11-09
CocoaDVDPlayer (HTML) (DMG) (ZIP)
Demonstrates how to use DVD Playback Services to play DVD-Video media.
Graphics & Imaging Sample Code 2005-11-04
TabsShowcase (HTML) (DMG) (ZIP)
Shows how to instantiate and use the Tab control both programmatically and from a nib file.
Carbon Sample Code 2005-10-28
FileNotification (HTML) (DMG) (ZIP)
kqueue file notification introduced in 10.3. Notification API to detect file system modifications.
Carbon, Cocoa, Core Foundation, Darwin Sample Code 2005-10-27
GetPrimaryMACAddress (HTML) (DMG) (ZIP)
Demonstrates retrieving the MAC address of the built-in Ethernet controller. Useful for uniquely identifying a Macintosh system.
Carbon, Cocoa, Darwin, Games, Hardware & Drivers, Mac OS X Server, Networking, Security Sample Code 2005-10-27
SampleD (HTML) (DMG) (ZIP)
Demonstrates use of launchd and Apple System Logger.
Darwin Sample Code 2005-10-27
AuthForAll (HTML) (DMG) (ZIP)
Shows how to use Authorization Services to create a self-restricted application.
Security Sample Code 2005-10-26
DelegateOnlyComponent (HTML) (DMG) (ZIP)
Image Codec Component which simply delegates to a real Image Codec (in this case a '2vuy' decompressor).
QuickTime Sample Code 2005-10-18
HICustomPushButton (HTML) (DMG) (ZIP)
Illustrates how to create a simple custom push button using the HIView functions introduced in Mac OS X 10.2.
Carbon Sample Code 2005-10-17
ImageMapView (HTML) (DMG) (ZIP)
Demonstrates how to add Accessibility to a complex custom HIView and the related parts of an application.
Carbon Sample Code 2005-10-17
LoginItemsAE (HTML) (DMG) (ZIP)
Uses Apple events to manipulate the list of login items (items launched when you log in).
Carbon, Cocoa Sample Code 2005-10-17
MoviePlayer (HTML) (DMG) (ZIP)
A simple movie player application written in Microsoft Visual Basic 6 using the QuickTime 7 COM/ActiveX Control.
QuickTime Sample Code 2005-10-13
AudioCDSample (HTML) (DMG) (ZIP)
Demonstrates how to discover audio CDs and access the TOC information presented by the CD-DA filesystem.
Audio, Hardware & Drivers Sample Code 2005-10-04
CocoaInCarbon (HTML) (DMG) (ZIP)
Demonstrates using Cocoa GUI code in a Carbon application.
Carbon, Cocoa Sample Code 2005-10-04
ComboBoxPrefs (HTML) (DMG) (ZIP)
Use CFPrefs to store URLs to images for use in a browser style combo box.
Carbon Sample Code 2005-10-04
DisplayURL (HTML) (DMG) (ZIP)
Parses a passed in path URL into its various components displaying server information.
Carbon, Core Foundation Sample Code 2005-10-04
QTQuartzPlayer (HTML) (DMG) (ZIP)
QTQuartzPlayer demonstrates how to render QuickTime Movies and live video with OpenGL and CoreVideo.
Cocoa, Graphics & Imaging, QuickTime Sample Code 2005-10-04
ElectricImageComponent (HTML) (DMG) (ZIP)
Demonstrates how to build five QuickTime Components.
QuickTime Sample Code 2005-09-21
DialogsToHIViews (HTML) (DMG) (ZIP)
Shows how to convert from an old-style resource-based dialog to a modern nib-based window with HIViews.
Carbon Sample Code 2005-08-24
ImproveYourImage (HTML) (DMG) (ZIP)
Demonstrates the use of QuickTime Graphics Importers and Exporters.
QuickTime Sample Code 2005-08-24
KillEveryOneButMe (HTML) (DMG) (ZIP)
Demonstrates how to terminate all other processes.
Carbon Sample Code 2005-08-24
WindowFun (HTML) (DMG) (ZIP)
Create window layers and groups. Drawing transparent lines. How to display the "Poof" the toolbar uses.
Carbon Sample Code 2005-08-24
IOPrintSuperClasses (HTML) (DMG) (ZIP)
Given the name of a class, this tool will print all of the super-classes of that class.
Darwin Sample Code 2005-08-17
ExampleIPBCodec (HTML) (DMG) (ZIP)
A video compressor and decompressor component pair for QuickTime 7. Supports IPB frame patterns.
QuickTime Sample Code 2005-08-16
SerialPortSample (HTML) (DMG) (ZIP)
Demonstrates how to do serial I/O on Mac OS X.
Hardware & Drivers Sample Code 2005-08-16
BrideOfMungGrab (HTML) (DMG) (ZIP)
Demonstrates the use of overlay windows and CG to draw text on captured video.
Carbon, QuickTime Sample Code 2005-08-12
CarbonTransparentWindow (HTML) (DMG) (ZIP)
Shows how to handle window transparency for compositing, non-compositing, and custom HIView-based Carbon windows.
Carbon Sample Code 2005-08-10
enetlognke (HTML) (DMG) (ZIP)
Interface filter based on supported Kernel Programming Interfaces for Tiger.
Hardware & Drivers, Networking Sample Code 2005-08-10
HIObjectThreadController (HTML) (DMG) (ZIP)
Shows how threads can interact with the User Interface handled by the main thread of the application.
Carbon Sample Code 2005-08-10
MachPortDump (HTML) (DMG) (ZIP)
Dumps out the Mach port name space of a process; useful when debugging port right leaks.
Darwin, Tools Sample Code 2005-08-10
MemoryBasedBundle (HTML) (DMG) (ZIP)
Shows how to execute Mach-O code from memory, much like GetMemFragment in CFM.
Carbon, Darwin Sample Code 2005-08-10
PasteboardPeeker (HTML) (DMG) (ZIP)
Using pasteboards for Copy and Paste, Drag and Drop, service support and filter services.
Carbon, Cocoa, Core Foundation, Text & Fonts, User Experience Sample Code 2005-08-10
PDFKitLinker2 (HTML) (DMG) (ZIP)
Demonstrates many aspects of PDFKit including navigation, display modes, searching, and PDFView subclassing.
Cocoa, Graphics & Imaging Sample Code 2005-08-10
QuickTimeMovieControl (HTML) (DMG) (ZIP)
Demonstrates how to easily add QuickTime media playback to an application
Carbon, QuickTime Sample Code 2005-08-10
ScrollAndZoom (HTML) (DMG) (ZIP)
An illustration of the use of the Context Transformation Matrix (CTM) for zooming and scrolling a HIView.
Carbon Sample Code 2005-08-10
SimpleVideoOut (HTML) (DMG) (ZIP)
Demonstrates how QuickTime Video Output Components can be used to play video out to hardware.
Carbon, Hardware & Drivers, QuickTime Sample Code 2005-08-10
SocketCancel (HTML) (DMG) (ZIP)
Shows how to safely cancel threads that are blocked within BSD sockets calls.
Darwin, Networking Sample Code 2005-08-10
SoftVideoOutputComponent (HTML) (DMG) (ZIP)
Software implementation of a QuickTime Video Output Component, includes a companion Transfer Codec.
QuickTime Sample Code 2005-08-10
SpellingChecker-CocoaCarbon (HTML) (DMG) (ZIP)
Demonstrates how to call NSSpellChecker cocoa routines from a Carbon application.
Carbon, Cocoa Sample Code 2005-08-10
TypeServicesForUnicode (HTML) (DMG) (ZIP)
Shows how to use various ATSUI functions and features going from simple to very complex.
Carbon, Text & Fonts Sample Code 2005-08-10
CIAnnotation (HTML) (DMG) (ZIP)
Image annotation application using Core Image Filters. Demonstrates creation and usage of Image Units.
Cocoa, Graphics & Imaging Sample Code 2005-08-01
DropDraw (HTML) (DMG) (ZIP)
Demonstrates automatic ColorSync color-matching when drawing with QuickTime graphics importers in Panther
Carbon, QuickTime Sample Code 2005-08-01