Jump To:
Each Sample Code project is buildable and executable source example of how to accomplish a task for a specific Apple technology. They show the correct sequence of calls and parameter data types to provide a generalized method for API use that developers can modify for their specific needs.

Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Topic
Sort by
Date
qtmissingcomp (HTML) (DMG) (ZIP)
Illustrates the preferred method of checking to see whether a particular component is available.
QuickTime 2003-01-14
qtmissingcomp.win (HTML) (DMG) (ZIP)
Illustrates the preferred method of checking to see whether a particular component is available.
QuickTime 2003-01-14
QTMLPrintingSample (HTML) (DMG) (ZIP)
Uses the QuickTime APIs to draw into a standard Win32 printing device context.
QuickTime 2003-10-27
qtmoviefromprocs (HTML) (DMG) (ZIP)
Create QuickTime movie with video and audio tracks; Video from series of individual frames
QuickTime 2003-01-14
qtmoviefromprocs.win (HTML) (DMG) (ZIP)
Create QuickTime movie with video and audio tracks; Video from series of individual frames
QuickTime 2003-01-14
qtmoviefromurl (HTML) (DMG) (ZIP)
Illustrates how to use QuickTime's URL data handler to open a movie file specified by a URL.
QuickTime 2003-01-14
qtmoviefromurl.win (HTML) (DMG) (ZIP)
Illustrates how to use QuickTime's URL data handler to open a movie file specified by a URL.
QuickTime 2003-01-14
qtmovietrack (HTML) (DMG) (ZIP)
Demonstrates how to create movie tracks, allowing you to embed one movie within another movie.
QuickTime 2003-01-14
qtmovietrack.win (HTML) (DMG) (ZIP)
Demonstrates how to create movie tracks, allowing you to embed one movie within another movie.
QuickTime 2003-01-14
qtmultiimage (HTML) (DMG) (ZIP)
Illustrates determining whether an image file contains more than one image and displaying any image.
QuickTime 2003-01-14
qtmultiimage.win (HTML) (DMG) (ZIP)
Illustrates how to display any of the images in a multi-image file.
QuickTime 2003-01-14
qtmusic.win (HTML) (DMG) (ZIP)
Deprecated - Demonstrates ways of using the QuickTime Music Architecture to play notes and tunes.
QuickTime 2003-01-14
QTMusicToo (HTML) (DMG) (ZIP)
Deprecated - Shows all of the QuickTime Music features introduced with QuickTime 2.0.
QuickTime 2003-03-19
QTNoStepsDemo (HTML) (DMG) (ZIP)
Shows how to subclass QTMovieView to override its default behaviors.
Cocoa, QuickTime 2006-08-01
QTPixelBufferVCToCGImage (HTML) (DMG) (ZIP)
Demonstrates using QTPixelBufferContextCreate with NewMovieFromProperties to output pixel buffers from a movie and draw them.
Graphics & Imaging, QuickTime 2006-07-07
QTQuartzPlayer (HTML) (DMG) (ZIP)
QTQuartzPlayer demonstrates how to render QuickTime Movies and live video with OpenGL and CoreVideo.
Cocoa, Graphics & Imaging, QuickTime 2005-10-04
qtreadwritejpeg (HTML) (DMG) (ZIP)
Illustrates how to compress and decompress JPEG images using QuickTime.
QuickTime 2003-01-14
qtreadwritejpeg.win (HTML) (DMG) (ZIP)
Illustrates how to compress and decompress JPEG images using QuickTime.
QuickTime 2003-01-14
QTRecorder (HTML) (DMG) (ZIP)
Shows how to use the new QTKit capture classes introduced in 10.5.
Cocoa, QuickTime 2007-04-10
QTSetMovieAudioDevice (HTML) (DMG) (ZIP)
Create a QT audio context for an audio output device and target a movie to render to the context
QuickTime 2006-03-03
qtshell (HTML) (DMG) (ZIP)
Simple QuickTime and QuickTime VR viewer framework.
Carbon, Graphics & Imaging, QuickTime 2003-10-27
qtshell.win (HTML) (DMG) (ZIP)
Simple QuickTime and QuickTime VR viewer framework.
QuickTime 2003-10-27
qtshellCEvents (HTML) (DMG) (ZIP)
A Carbon event based movie viewer framework which demonstrates how to incorporate movie support into an application.
Carbon, QuickTime 2003-01-14
qtshellCEvents.win (HTML) (DMG) (ZIP)
A movie viewer framework which demonstrates how to incorporate movie support into an application.
QuickTime 2003-01-14
qtshortcut (HTML) (DMG) (ZIP)
Illustrates how to use CreateShortcutMovieFile.
QuickTime 2003-01-14
qtshortcut.win (HTML) (DMG) (ZIP)
Illustrates how to use CreateShortcutMovieFile.
QuickTime 2003-01-14
qtshoweffect (HTML) (DMG) (ZIP)
Illustrates how to apply a filter or transition to pictures using QuickTime Effects APIs.
QuickTime 2003-02-25
qtshoweffect.win (HTML) (DMG) (ZIP)
Illustrates how to apply a filter or transition to pictures using QuickTime Effects APIs.
QuickTime 2003-02-25
QTSimpleApplet (HTML) (DMG) (ZIP)
Shows how to display any QuickTime content within a java.awt.Applet.
Java, QuickTime 2006-06-28
qtskins (HTML) (DMG) (ZIP)
Shows how to programmatically create and play back a movie with a skin track.
QuickTime 2003-01-14
qtskins.win (HTML) (DMG) (ZIP)
Shows how to programmatically create and play back a movie with a skin track.
QuickTime 2003-01-14
qtsndtween (HTML) (DMG) (ZIP)
Modify a QuickTime movie's sound track by increasing (or decreasing) the volume as it plays.
QuickTime 2003-01-14
qtsndtween.win (HTML) (DMG) (ZIP)
Modify a QuickTime movie's sound track by increasing (or decreasing) the volume as it plays.
QuickTime 2003-01-14
QTSPketizerReassem (HTML) (DMG) (ZIP)
Components to packetize or reassemble multimedia data that is streamed over RTP.
QuickTime 2003-01-14
QTSPketizerReassem.win (HTML) (DMG) (ZIP)
Components to packetize or reassemble multimedia data that is streamed over RTP.
QuickTime 2003-01-14
qtsprites (HTML) (DMG) (ZIP)
Shows how to create a sprite track that contains three sprites: a space ship, an icon, and a world.
QuickTime 2003-02-25
qtsprites.win (HTML) (DMG) (ZIP)
Shows how to create a sprite track that contains three sprites: a space ship, an icon, and a world.
QuickTime 2003-02-25
qtspritesplus (HTML) (DMG) (ZIP)
Shows how to use video overrides and tween tracks with sprite movies.
QuickTime 2003-02-25
qtspritesplus.win (HTML) (DMG) (ZIP)
Shows how to use video overrides and tween tracks with sprite movies.
QuickTime 2003-02-25
QTSSConnectionMonitor (HTML) (DMG) (ZIP)
Displays a graphical representation of the server's outgoing bandwidth.
QuickTime 2003-01-14
QTSSInspector (HTML) (DMG) (ZIP)
Allows one to browse settings and server data using the Admin Protocol.
QuickTime 2003-01-14
qtstdcompr (HTML) (DMG) (ZIP)
Illustrates how to use QuickTime's standard image compression dialog routines.
QuickTime 2003-01-14
qtstdcompr.win (HTML) (DMG) (ZIP)
Illustrates how to use QuickTime's standard image compression dialog routines.
QuickTime 2003-01-14
qtstreaming (HTML) (DMG) (ZIP)
Using the QuickTime Streaming RTPMediaPacketizer components and RTPReassembler components to stream over RTP.
QuickTime 2003-01-14
qtstreaming.win (HTML) (DMG) (ZIP)
Using the QuickTime Streaming RTPMediaPacketizer components and RTPReassembler components to stream over RTP.
QuickTime 2003-01-14
QTStreamingApplet (HTML) (DMG) (ZIP)
Shows how to display QuickTime streaming content within a java.awt.Applet.
Java, QuickTime 2006-06-28
qtstreammsg (HTML) (DMG) (ZIP)
Shows how to work with the status streaming messages and display a message in the controller bar.
QuickTime 2003-01-14
qtstreammsg.win (HTML) (DMG) (ZIP)
Shows how to work with the status streaming messages and display a message in the controller bar.
QuickTime 2003-01-14
qtstreamsplicer (HTML) (DMG) (ZIP)
Shows how to splice a still picture onto the front of a live or audio-only streaming movie.
QuickTime 2003-01-14
qtstreamsplicer.win (HTML) (DMG) (ZIP)
Shows how to splice a still picture onto the front of a live or audio-only streaming movie.
QuickTime 2003-01-14
qttext (HTML) (DMG) (ZIP)
Demonstrates searching on text media, using a text procedure to retrieve text, and editing text media.
QuickTime 2003-01-14
qttext.win (HTML) (DMG) (ZIP)
Demonstrates searching on text media, using a text procedure to retrieve text, and editing text media.
QuickTime 2003-01-14
qttimecode.win (HTML) (DMG) (ZIP)
Shows how to use the timecode media handler.
QuickTime 2003-01-14
QTtoCG (HTML) (DMG) (ZIP)
Shows how to create a CGImageRef with the proper ColorSync profile from a QuickTime image on disk.
Cocoa, Graphics & Imaging, QuickTime 2003-01-14
qtvectors (HTML) (DMG) (ZIP)
Shows how to construct a QuickTime vector movie.
QuickTime 2003-01-14
qtvectors.win (HTML) (DMG) (ZIP)
Constructs a series of QTAtoms that describe a vector picture and saves them to a movie.
QuickTime 2003-01-14
qtwiredactions (HTML) (DMG) (ZIP)
Shows how to attach wired actions to text tracks and make sprites bounce and collide.
QuickTime 2003-02-25
qtwiredactions.win (HTML) (DMG) (ZIP)
Shows how to attach wired actions to text tracks and make sprites bounce and collide.
QuickTime 2003-02-25
qtwiredsprites (HTML) (DMG) (ZIP)
Creates a wired sprite movie with one sprite track that contains two penguins and four buttons.
QuickTime 2003-02-25
qtwiredsprites.win (HTML) (DMG) (ZIP)
Creates a wired sprite movie with one sprite track that contains two penguins and four buttons.
QuickTime 2003-02-25
qtwiredspritesjr (HTML) (DMG) (ZIP)
Shows how to build a set of sprite "buttons" to control the playback of a linear QuickTime movie.
QuickTime 2003-02-25
qtwiredspritesjr.win (HTML) (DMG) (ZIP)
Shows how to build a set of sprite "buttons" to control the playback of a linear QuickTime movie.
QuickTime 2003-02-25
Quartz 2D Shadings (HTML) (DMG) (ZIP)
Shows how to use CGShading and CGGradient objects to draw simple gradients.
Carbon, Cocoa, Graphics & Imaging 2007-08-31
Quartz 2D Transformer (HTML) (DMG) (ZIP)
Shows how to use Quartz 2D to manipulate an image
Carbon, Cocoa, Graphics & Imaging 2007-06-21
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 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 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 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.
Apple Applications, Cocoa, Graphics & Imaging, QuickTime 2005-07-06
Quartz Composer Texture (HTML) (DMG) (ZIP)
Shows how to use a Quartz Composer composition as an OpenGL texture.
Apple Applications, Cocoa, Games, Graphics & Imaging 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 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 2005-06-01
Quartz EB (HTML) (DMG) (ZIP)
WWDC 2001 Early Bird Quartz 2D tutorial of vector drawing and PDF import/export.
Cocoa, Graphics & Imaging 2003-01-14
Quartz2DBasics (HTML) (DMG) (ZIP)
Carbon and Cocoa sample code demonstrating some basic usage of the Quartz 2D API
Carbon, Cocoa, Graphics & Imaging 2006-09-11
QuartzCache (HTML) (DMG) (ZIP)
Demonstrates several caching techniques using CGBitmapContext, CGImageRef re-use, CGLayerRefs, CGImageSource.
Graphics & Imaging, Performance 2005-06-01
QuartzComposerSamplePatches (HTML) (DMG) (ZIP)
A short list of new patches in Quartz Composer Mac OS X 10.5
Apple Applications, Cocoa, Graphics & Imaging 2007-06-11
QuartzLines (HTML) (DMG) (ZIP)
Drawing Lines using Quartz's CGPath & CGContextStrokeLineSegments functions.
Carbon, Cocoa, Graphics & Imaging, Performance 2005-06-01
QuartzShapes (HTML) (DMG) (ZIP)
Example Quartz functions that implement equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect
Carbon, Graphics & Imaging, Porting 2005-03-08
QuickTimeMovieControl (HTML) (DMG) (ZIP)
Demonstrates how to easily add QuickTime media playback to an application
Carbon, QuickTime 2005-08-10
ReadLocation (HTML) (DMG) (ZIP)
Retrieves the Map control panel settings for longitude and latitude and the time offset from GMT.
Carbon 2003-01-30
RecentItems (HTML) (DMG) (ZIP)
Implements "Recent items" menu(s)
Carbon, Core Foundation 2006-10-09
RecordAudioToFile (HTML) (DMG) (ZIP)
Demonstrates recording audio to an AAC file using Core Audio
Audio, Carbon, Games, Performance 2007-02-27
Reducer (HTML) (DMG) (ZIP)
Simple utility for rescaling bitmapped images. Demonstrates use of Core Image, NSAnimation, view drawing redirection.
Cocoa, Graphics & Imaging 2005-06-06
ReKeyTrans (HTML) (DMG) (ZIP)
Shows how to patch KeyTrans to ignore dead-key processing so you type fancy accented characters.
Carbon 2003-01-30
Reminders (HTML) (DMG) (ZIP)
Dashboard widget with a plug-in that displays upcoming iCal events, to do items, and calendars.
Apple Applications, Cocoa, Tools 2008-07-25
Resizer (HTML) (DMG) (ZIP)
A widget that demonstrates how to use the Apple Animation and Animator classes.
Apple Applications 2006-08-01
resolveRelativeAlias (HTML) (DMG) (ZIP)
Demonstrates the steps involved in creating and resolving a relative alias.
Carbon 2003-01-14
RGB Image (HTML) (DMG) (ZIP)
Demonstrates compositing to separate an NSimage into its RGB components, and how to recombine those components.
Cocoa 2003-01-14
RGB ValueTransformers (HTML) (DMG) (ZIP)
Supersedes the "RGB Image sample". Sample now uses bindings. Color separation now done in an NSValueTransformer subclass.
Cocoa, Graphics & Imaging 2003-11-18
RollerCoaster.win (HTML) (DMG) (ZIP)
Demonstrates how to create a simple roller-coaster simulation using QuickDraw3D.
QuickTime 2003-01-14
ROMResourceDump (HTML) (DMG) (ZIP)
Deprecated - Illustrates how to copy all resources in the Macintosh's ROM into a file.
Carbon 2003-01-30
RoundTransparentWindow (HTML) (DMG) (ZIP)
Creating (in Cocoa) custom-shaped windows and transparent window content; plus changing the shape of windows dynamically.
Cocoa 2003-01-14
SampleButtonPlugin (HTML) (DMG) (ZIP)
Demonstrates how to write a TWAIN button listener plug-in code module.
Apple Applications 2003-07-10
SampleCMPlugIn (HTML) (DMG) (ZIP)
A contextual menu plugIn for Mac OS X.
Carbon, Scripting & Automation 2006-10-09
SampleD (HTML) (DMG) (ZIP)
Demonstrates use of launchd and Apple System Logger.
Darwin 2005-10-27
SampleDS (HTML) (DMG) (ZIP)
Demonstrates how to implement a TWAIN Data Source (DS) for Mac OS X.
Apple Applications 2003-07-10
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 2006-01-03
samplemakeeffectmovie (HTML) (DMG) (ZIP)
Shows how to take video from movies and add effects creating a new movie.
QuickTime 2003-02-25
samplemakeeffectmovie.win (HTML) (DMG) (ZIP)
Shows how to take video from movies and add effects creating a new movie.
QuickTime 2003-02-25
SampleScannerApp (HTML) (DMG) (ZIP)
This project implements a simple client accessing an ICA scanning device.
Apple Applications, Carbon, Graphics & Imaging 2008-05-07
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 2005-03-07