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

Sort by
Title
Sorted by
Topic
Sort by
Date
VelEng FFT (HTML) (DMG) (ZIP)
G4 Velocity Engine implementation of Fast Fourier Transform (FFT) and associated convolution/correlation routines.
Performance 2003-01-14
VelEng Multiprecision (HTML) (DMG) (ZIP)
An implementation of arbitrary precision arithmetic using the PowerPC Velocity-Engine (G4) vector instructions.
Performance 2003-01-14
VelEng Wavelet (HTML) (DMG) (ZIP)
This demonstrates a Velocity Engine (G4) implementation of wavelet processing of color images
Performance 2003-01-14
VideoViewer (HTML) (DMG) (ZIP)
Simple example of video rendering using QuickTime visual contexts, OpenGL, Core Video and Core Image.
Performance 2005-08-01
BasicPlugIn (HTML) (DMG) (ZIP)
Uses the CFPlugin to locate, load, execute plugin. Derived from the SillyBalls sample.
Porting 2003-07-28
Carbon Porting Tutorial (HTML) (DMG) (ZIP)
Porting a simple application from Mac OS 9 to Mac OS X
Porting 2006-07-25
CarbonCocoa_PictureCursor (HTML) (DMG) (ZIP)
Demonstrates how to use NSCursor from a Carbon based application.
Porting 2007-01-12
CarbonCocoaCoreImageTab (HTML) (DMG) (ZIP)
Carbon-based application creates a Cocoa-based web window which used CoreImage filters to transition between tabbed WebViews
Porting 2006-07-25
CarbonQuartzComposer_TV (HTML) (DMG) (ZIP)
Demonstrates how to integrate Cocoa based QuartzComposer window into a Carbon based application
Porting 2006-10-02
CFPrefTopScores (HTML) (DMG) (ZIP)
How to access globally shared (writable) user preferences without requiring authentication.
Porting 2006-10-09
HID Calibrator (HTML) (DMG) (ZIP)
Human Interface Device Manager Calibrator sample
Porting 2008-05-07
HID Config Save (HTML) (DMG) (ZIP)
Human Interface Device Manager Configuration sample
Porting 2008-05-07
HID LED test tool (HTML) (DMG) (ZIP)
HID Manager sample project that shows how to set and clear keyboard LEDs.
Porting 2008-07-25
HIView-NSView (HTML) (DMG) (ZIP)
Demonstrates how to embed an NSView within an HIView in a Carbon window.
Porting 2007-05-29
LocalServer (HTML) (DMG) (ZIP)
Deprecated - Sample demonstrates how a Classic process can communicate with a Mac OS X process using IP networking protocols.
Porting 2003-01-30
MoreIsBetter (HTML) (DMG) (ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
Porting 2003-10-27
QuartzShapes (HTML) (DMG) (ZIP)
Example Quartz functions that implement equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect
Porting 2005-03-08
ScriptBuildPhases (HTML) (DMG) (ZIP)
Augmenting Project Builder build phases with scripts to do extra work or invoke other tools.
Porting 2003-01-14
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.
Porting 2005-06-06
simpleJavaLauncher (HTML) (DMG) (ZIP)
How to launch 1.4.x and future JVM's from a Core Foundation tool.
Porting 2006-04-12
UpdateXcodeSubprojects (HTML) (DMG) (ZIP)
Updates all subprojects of an Xcode project to Xcode 2.1 format. Illustrates scripting techniques.
Porting 2005-06-06
X11CallCarbonAndCocoa (HTML) (DMG) (ZIP)
Demonstrates a double clickable X11 application which performs various "native" Mac OS X operations.
Porting 2003-07-28
CarbonQuartzDrawingWPrinting (HTML) (DMG) (ZIP)
Deprecated - Demonstrates mixing QuickDraw and Quartz 2D drawing both on screen and during printing.
Printing 2003-01-14
CarbonSketch (HTML) (DMG) (ZIP)
Core Graphics only example of a Sketch application implemented with HIToolbox. Shows 1x1-CGBitmapContext for hit-testing, printing.
Printing 2005-03-23
Cocoa PDE with Carbon Printing (HTML) (DMG) (ZIP)
Application that uses a Cocoa PDE along with the Carbon Printing APIs.
Printing 2007-07-27
OutputBins2PDE (HTML) (DMG) (ZIP)
A Printer PDE demonstrating new features in 10.5
Printing 2008-02-08
PDEProject (HTML) (DMG) (ZIP)
Deprecated - Demonstrates an application-hosted printing dialog extension (PDE) that displays a custom pane in the Print dialog.
Printing 2003-01-14
PMPrinterPrintWithFile (HTML) (DMG) (ZIP)
How to send files, for example PostScript and PDF, directly to the printer. Replaces the pict-ps path.
Printing 2006-07-18
PMPrinterTest (HTML) (DMG) (ZIP)
Get specific printer information for your application using the PMPrinter APIs
Printing 2004-11-05
ViewController (HTML) (DMG) (ZIP)
Demonstrates how to use "NSViewController".
Printing 2007-06-11
addflashactions (HTML) (DMG) (ZIP)
Adds a few wired actions to a movie that has a flash track.
QuickTime 2003-02-25
addflashactions.win (HTML) (DMG) (ZIP)
Adds a few wired actions to a movie that has a flash track.
QuickTime 2003-02-25
AddFrameToMovie (HTML) (DMG) (ZIP)
Shows how to add an additional frame to the end of an existing movie.
QuickTime 2003-01-14
addhtactions (HTML) (DMG) (ZIP)
Adds two go-to-URL actions to parts of the text track.
QuickTime 2003-02-25
addhtactions.win (HTML) (DMG) (ZIP)
Adds two go-to-URL actions to parts of the text track.
QuickTime 2003-02-25
AddTextMovie (HTML) (DMG) (ZIP)
Adds a text track to an existing movie selected by the user.
QuickTime 2006-06-28
AddTextMovie.win (HTML) (DMG) (ZIP)
Shows how to Add a text track to a Movie.
QuickTime 2003-01-14
addvractions (HTML) (DMG) (ZIP)
Illustrates how to add wired actions to a QuickTime VR movie.
QuickTime 2003-01-14
addvractions.win (HTML) (DMG) (ZIP)
Illustrates how to add wired actions to a QuickTime VR movie.
QuickTime 2003-01-14
AIFFWriter (HTML) (DMG) (ZIP)
Deprecated - A Sound Manager sound output device component.
QuickTime 2003-01-14
aiffwriter.win (HTML) (DMG) (ZIP)
Deprecated - A Sound Manager sound output device component.
QuickTime 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 2003-01-14
ASCIIMoviePlayerSample (HTML) (DMG) (ZIP)
Demonstrates using a MovieDrawingCompleteProc to render a QuickTime movie in the Mac OS X Terminal.
QuickTime 2005-07-20
ASCIIMoviePlayerSample for Windows (HTML) (DMG) (ZIP)
This sample demonstrates using a MovieDrawingCompleteProc to render a QuickTime movie in the Windows DOS Console.
QuickTime 2005-05-05
audiocodec (HTML) (DMG) (ZIP)
A Sound Manager compressor and decompressor example supporting the uLaw format.
QuickTime 2003-01-14
audiocodec.win (HTML) (DMG) (ZIP)
An example codec, a compressor and decompressor supporting the uLaw format.
QuickTime 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 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 2003-01-14
BackgroundExporter (HTML) (DMG) (ZIP)
Demonstrates techniques which can be used to export QuickTime movies in a separate export process.
QuickTime 2005-07-22
bMoviePalette (HTML) (DMG) (ZIP)
Shows a rudimentary QuickTime movie editor in a Cocoa Interface Builder palette.
QuickTime 2003-01-14
bMoviePaletteCocoa (HTML) (DMG) (ZIP)
A QuickTime movie editor in Cocoa as an Interface Builder Palette. From the 2001 WWDC.
QuickTime 2003-01-14
BrideOfMungGrab (HTML) (DMG) (ZIP)
Demonstrates the use of overlay windows and CG to draw text on captured video.
QuickTime 2005-08-12
BurntTextSampleCode (HTML) (DMG) (ZIP)
Converts text tracks of a movie to new text tracks with bit map representations of the text.
QuickTime 2003-01-14
CaptureAndCompressIPBMovie (HTML) (DMG) (ZIP)
Captures video & recompresses it using H.264 also captures audio saving the output in a movie file.
QuickTime 2007-08-14
Carbon GLSnapshot (HTML) (DMG) (ZIP)
Demonstrates the use of OpenGL with Quicktime to capture OpenGL content.
QuickTime 2003-07-07
CarbonQTGraphicImport (HTML) (DMG) (ZIP)
Illustrates how to use the QuickTime GraphicImporter components.
QuickTime 2003-01-14
ChromaKeyMovie (HTML) (DMG) (ZIP)
Demonstrates alternative approaches to removing a color from a QuickTime movie.
QuickTime 2003-01-14
CIVideoDemoGL (HTML) (DMG) (ZIP)
CIVideoDemoGL demonstrates using Core Image with QuickTime and Core Video
QuickTime 2007-10-03
ClosedCaptionImporter (HTML) (DMG) (ZIP)
QuickTime Movie Import Component for Scenarist Closed Caption files.
QuickTime 2007-11-15
Cocoa - SGDataProc (HTML) (DMG) (ZIP)
Uses a Sequence Grabber data function and an NSQuickDrawView to simulate a preview operation for captured video.
QuickTime 2003-01-14
CocoaCreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a QuickTime movie from a set of Cocoa JPEG NSImage objects.
QuickTime 2003-01-14
CocoaVideoFrameToGWorld (HTML) (DMG) (ZIP)
Demonstrates how to draw each frame of a QuickTime movie into a Cocoa NSQuickDrawView.
QuickTime 2003-01-14
CocoaVideoFrameToNSImage (HTML) (DMG) (ZIP)
Demonstrates how to create an NSImage for each frame of a QuickTime movie.
QuickTime 2003-01-14
ColorMatching (HTML) (DMG) (ZIP)
Performs simple color matching of images using ColorSync or the QuickTime 6.4 Graphics Importers.
QuickTime 2003-12-18
CompressMovies (HTML) (DMG) (ZIP)
Shows how to use QuickTime movie compression in an application.
QuickTime 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 2003-01-14
ConvertToMovieJr (HTML) (DMG) (ZIP)
Shows how to recompress QuickTime movies using the Image Compression Manager routines.
QuickTime 2003-01-14
Core Animation QuickTime Layer (HTML) (DMG) (ZIP)
Shows the use of controls in a Layer over a Core Animation QTMovieLayer
QuickTime 2007-09-26
CreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a QuickTime Movie with both a video and audio track.
QuickTime 2003-01-14
CreateMovie - C# (HTML) (DMG) (ZIP)
Visual C# application demonstrating the QuickTime 7 COM Control creating movies from images and saving them
QuickTime 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 2005-11-09
CreateMovieFromReferences (HTML) (DMG) (ZIP)
Shows how to create a movie from existing video samples in a file using AddMediaSampleReferences.
QuickTime 2007-08-31
CreateMovieJava (HTML) (DMG) (ZIP)
Deprecated - Creates a Movie from Java drawing and a sound file.
QuickTime 2003-01-14
CreatePictFile (HTML) (DMG) (ZIP)
Creates a QTComponent from a PICT, JPEG or GIF file using a GraphicsImporter.
QuickTime 2006-05-11
CustomMedia (HTML) (DMG) (ZIP)
Demonstrates how to subclass quicktime.std.movies.media.Media to support custom media types.
QuickTime 2006-05-11
DecompressionAndScaling (HTML) (DMG) (ZIP)
Shows how to convert a version 2 PICT to a compressed QuickTime data buffer.
QuickTime 2003-01-14
DelegateOnlyComponent (HTML) (DMG) (ZIP)
Image Codec Component which simply delegates to a real Image Codec (in this case a '2vuy' decompressor).
QuickTime 2005-10-18
DesktopSprites (HTML) (DMG) (ZIP)
Shows how to use the QuickTime Sprite Toolbox APIs to create and animate sprites in a window.
QuickTime 2003-02-25
DesktopSprites.win (HTML) (DMG) (ZIP)
Shows how to use the QuickTime Sprite Toolbox APIs to create and animate sprites in a window.
QuickTime 2003-02-25
DigitizerShell (HTML) (DMG) (ZIP)
Simple sequence grabber and vdig test bed for testing vdig and digitizer functionality.
QuickTime 2003-01-14
Dimmer2Effect (HTML) (DMG) (ZIP)
Shows how to build a custom 2 source effect component for QuickTime.
QuickTime 2003-02-25
Dimmer2Effect.win (HTML) (DMG) (ZIP)
Shows how to build a custom 2 source effect component for QuickTime.
QuickTime 2003-02-25
DragAndDrop Shell (HTML) (DMG) (ZIP)
A Drag and Drop shell for producing QuickTime drag and drop tools.
QuickTime 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 2003-01-14
DropDraw (HTML) (DMG) (ZIP)
Demonstrates automatic ColorSync color-matching when drawing with QuickTime graphics importers in Panther
QuickTime 2005-08-01
DukeMovie (HTML) (DMG) (ZIP)
Demonstrates playback of any QuickTime content within a java.awt display space using a QTComponent.
QuickTime 2006-05-11
ElectricImageComponent (HTML) (DMG) (ZIP)
Demonstrates how to build five QuickTime Components.
QuickTime 2005-09-21
ElectricImageComponent.win (HTML) (DMG) (ZIP)
Demonstrates how to build five QuickTime Components.
QuickTime 2004-01-23
ExampleCodec (HTML) (DMG) (ZIP)
An example of am image compression codec that handles both compression and decompression of images.
QuickTime 2003-01-14
ExampleIPBCodec (HTML) (DMG) (ZIP)
A video compressor and decompressor component pair for QuickTime 7. Supports IPB frame patterns.
QuickTime 2005-08-16
ExampleVideoPanel (HTML) (DMG) (ZIP)
An example Sequence Grabber Video Panel Component.
QuickTime 2003-01-14
ExampleVideoPanel.win (HTML) (DMG) (ZIP)
An example Sequence Grabber Video Panel Component.
QuickTime 2003-01-14
ExtractMovieAudioToAIFF (HTML) (DMG) (ZIP)
Demonstrates how to extract audio from QuickTime Movies and write the data to an AIFF file.
QuickTime 2006-03-31
FastDitherUsingQT (HTML) (DMG) (ZIP)
Demonstrates how you can use QuickTime to get faster dithering.
QuickTime 2003-02-25
Fiendishthngs (HTML) (DMG) (ZIP)
Fiendishthngs lists all the the Components it finds on the system and lets you query them for information.
QuickTime 2007-09-13
FullScreen (HTML) (DMG) (ZIP)
Shows how to use BeginFullScreen and EndFullScreen to enter and exit full-screen mode.
QuickTime 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 2003-01-14
graphicimporter.win (HTML) (DMG) (ZIP)
Demonstrates ways of using QuickTime graphics importers.
QuickTime 2003-01-14
GreyscaleEffectSample (HTML) (DMG) (ZIP)
Shows how to build a custom single source effect component for QuickTime.
QuickTime 2003-02-25
GroupDrawing (HTML) (DMG) (ZIP)
Deprecated - Groups QuickTime drawing-capable objects into the display space of a single QTCanvas.
QuickTime 2003-01-14