Jump To:
Leopard Sample Code
Legacy documents consist of guides, references, sample code, and other resources that have become irrelevant for current product development. Some of these documents describe features, functions, classes, or methods that are no longer supported. Other legacy documents describe currently supported technologies, but the approaches and development techniques described in these documents are no longer recommended.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Legacy Status
Sort by
Date
JavaSplashScreen (HTML) (DMG) (ZIP)
Quickly display a splash screen while instantiating the 1.4.x/1.5 JVM from a Cocoa application.
Deprecated 2006-04-12
Fortune (HTML) (DMG) (ZIP)
Demonstrates use of a widget plug-in
Deprecated 2005-06-01
MoreFilesX (HTML) (DMG) (ZIP)
Shows various File Manager operations through a collection of high-level routines using HFS Plus APIs.
Deprecated 2005-05-13
SwapLAF (HTML) (DMG) (ZIP)
How to set the look-and-feel in your Swing application at runtime.
Deprecated 2005-02-28
NSGLImage (HTML) (DMG) (ZIP)
Demonstrates how to texture in OpenGL with an NSImage and/or NSBitmapImageRep
Deprecated 2004-12-01
AsyncPB (HTML) (DMG) (ZIP)
Describes how to chain File System calls from an interrupt handler like a Time Manager task.
Deprecated 2003-10-27
CPUGestalt (HTML) (DMG) (ZIP)
Shows how to determine the processor type of the Macintosh you're running on.
Deprecated 2003-10-27
OldDelegateOnlyComponent (HTML) (DMG) (ZIP)
Please see DelegateOnlyComponent for the current version of this sample.
Deprecated 2003-10-27
DrawSprocketTestOld (HTML) (DMG) (ZIP)
Demonstrates basic implementations of DrawSprocket Functions.
Deprecated 2003-10-14
GlyphaIVOld (HTML) (DMG) (ZIP)
A basic game implementation in the spirit of Joust meant as demonstation of Sprocket usage.
Deprecated 2003-10-14
CollectPictColors (HTML) (DMG) (ZIP)
Uses Picture Utilities package and KnowsPict application to demonstrate collecting colors used by Pict resources.
Deprecated 2003-10-10
Palette and GWorld (HTML) (DMG) (ZIP)
Demonstrates the use of palette and color tables with GWorlds.
Deprecated 2003-10-10
OTEndpointInfo (HTML) (DMG) (ZIP)
Demonstrates how to query an endpoint for its 'vital statistic' using OTGetEndpointInfo.
Deprecated 2003-08-20
CopyBits vs. CopyMask (HTML) (DMG) (ZIP)
CopyBits (using a mask region) vs. CopyMask (using a mask BitMap). Which do you think is faster?
Deprecated 2003-07-22
OTMP (HTML) (DMG) (ZIP)
A library for calling Open Transport synchronously from preemptively scheduled tasks (MP tasks).
Deprecated 2003-07-22
OTPingSample (HTML) (DMG) (ZIP)
Demonstrates how to implement ping on top of the Open Transport API.
Deprecated 2003-07-22
Simple DrawSprocket (HTML) (DMG) (ZIP)
Simple use of DrawSprocket to set screen resolution and size.
Deprecated 2003-07-22
TE Over Background (HTML) (DMG) (ZIP)
A textEdit that shows old text editing over a colored background
Deprecated 2003-07-22
QTMusicToo (HTML) (DMG) (ZIP)
Shows all of the QuickTime Music features introduced with QuickTime 2.0.
Deprecated 2003-03-19
Sound PreMixer effect (HTML) (DMG) (ZIP)
A sound manager pre-mixer effect component.
Deprecated 2003-03-14
Out of This GWorld (HTML) (DMG) (ZIP)
Demonstrates the use of offscreen GWorlds and palette animation to simulate animation.
Deprecated 2003-03-12
TubeTest (HTML) (DMG) (ZIP)
The program is a simple demonstration of how to use the Palette Manager in a color program.
Deprecated 2003-03-12
HTMLSample (HTML) (DMG) (ZIP)
Illustrates one way to use the HTMLRenderingLib Library.
Deprecated 2003-01-30
HTMLUserPane (HTML) (DMG) (ZIP)
Shows how to display a HTMLRenderingLib object inside of a user pane control.
Deprecated 2003-01-30
ictbSample (HTML) (DMG) (ZIP)
Shows an example of ictb resource.
Deprecated 2003-01-30
Live Scroll (HTML) (DMG) (ZIP)
Demonstrates how to implementing live scrolling during the tracking of scroll bar thumbs.
Deprecated 2003-01-30
LocalServer (HTML) (DMG) (ZIP)
Sample demonstrates how a Classic process can communicate with a Mac OS X process using IP networking protocols.
Deprecated 2003-01-30
Password (HTML) (DMG) (ZIP)
Illustrates three different ways to implement password fields in dialogs.
Deprecated 2003-01-30
PopUpMenuWithCurFont (HTML) (DMG) (ZIP)
Demonstrates what must be done to control the font used by MDEF 0 during PopUpMenuSelect.
Deprecated 2003-01-30
ROMResourceDump (HTML) (DMG) (ZIP)
Illustrates how to copy all resources in the Macintosh's ROM into a file.
Deprecated 2003-01-30
Scrap Parsing (HTML) (DMG) (ZIP)
Shows how to parse the in-memory scrap.
Deprecated 2003-01-30
AESendandReceive (HTML) (DMG) (ZIP)
Sending and receiving Apple Events with JDK 1.3.1 on Mac OS X.
Deprecated 2003-01-14
AIFFWriter (HTML) (DMG) (ZIP)
A Sound Manager sound output device component.
Deprecated 2003-01-14
aiffwriter.win (HTML) (DMG) (ZIP)
A Sound Manager sound output device component.
Deprecated 2003-01-14
CarbonQuartzDrawingWPrinting (HTML) (DMG) (ZIP)
Demonstrates mixing QuickDraw and Quartz 2D drawing both on screen and during printing.
Deprecated 2003-01-14
CGDrawPicture (HTML) (DMG) (ZIP)
Shows how to use the QDPictDrawToCGContext API.
Deprecated 2003-01-14
CreateMovieJava (HTML) (DMG) (ZIP)
Creates a Movie from Java drawing and a sound file.
Deprecated 2003-01-14
CTMClip (HTML) (DMG) (ZIP)
Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing with clipping.
Deprecated 2003-01-14
CTMDemo (HTML) (DMG) (ZIP)
Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing without clipping.
Deprecated 2003-01-14
GetHWEthernetAddr (HTML) (DMG) (ZIP)
Shows how to obtain the hardware Ethernet address of a machine.
Deprecated 2003-01-14
GroupDrawing (HTML) (DMG) (ZIP)
Groups QuickTime drawing-capable objects into the display space of a single QTCanvas.
Deprecated 2003-01-14
ImageCompositing (HTML) (DMG) (ZIP)
Applies compositing effects such as blend and transparency. Also records a Movie using the Compositor.
Deprecated 2003-01-14
Inside Mac Movie TB Code (HTML) (DMG) (ZIP)
Macintosh Movie Toolbox sample code.
Deprecated 2003-01-14
JDragNDrop (HTML) (DMG) (ZIP)
Demonstrates building a simple view to implement Drag-and-Drop functionality in Cocoa-Java.
Deprecated 2003-01-14
MRJToolkitStubs (HTML) (DMG) (ZIP)
Stubs of the MRJToolkit API for building or distributing on non-Mac OS X systems.
Deprecated 2003-01-14
NewCCursor (HTML) (DMG) (ZIP)
Shows how to create a black and white 'CURS' and a color 'crsr' cursor resource by hand.
Deprecated 2003-01-14
NSLMiniBrowser (HTML) (DMG) (ZIP)
Uses the NSL API to find network services using SLP, NBP, and Directory Services.
Deprecated 2003-01-14
OT Virtual Server (HTML) (DMG) (ZIP)
Sample code which uses Open Transport and demonstrates real world issues.
Deprecated 2003-01-14
OTLookupNameTest (HTML) (DMG) (ZIP)
Demonstrates how to lookup NBP entities on an AppleTalk network using Open Transport.
Deprecated 2003-01-14
PDEProject (HTML) (DMG) (ZIP)
Demonstrates an application-hosted printing dialog extension (PDE) that displays a custom pane in the Print dialog.
Deprecated 2003-01-14
Play Video Sample (HTML) (DMG) (ZIP)
The sample makes use of the RequestVideo sample code API.
Deprecated 2003-01-14
PlayMovieJava (HTML) (DMG) (ZIP)
Display any QuickTime content within an AWT container using the QTCanvas.
Deprecated 2003-01-14
PutAwayVolumes (HTML) (DMG) (ZIP)
Demonstrates several ways to unmount a volume and which contexts might require which techniques.
Deprecated 2003-01-14
QT QDesign decomp (HTML) (DMG) (ZIP)
Decompressing QDesign compressed files using the Sound Manager's SoundConvert routines and QuickTime QDesign codecs.
Deprecated 2003-01-14
QTEffectsJava (HTML) (DMG) (ZIP)
Applies QuickTime visual effects to two source images at runtime.
Deprecated 2003-01-14
QTimadecompression (HTML) (DMG) (ZIP)
Create a QuickTime atom to decompress IMA compressed WAVE files.
Deprecated 2003-01-14
QTJava media samples (HTML) (DMG) (ZIP)
Common media files for many of the QuickTime for Java samples.
Deprecated 2003-01-14
qtmusic.win (HTML) (DMG) (ZIP)
Demonstrates ways of using the QuickTime Music Architecture to play notes and tunes.
Deprecated 2003-01-14
SGCapture (HTML) (DMG) (ZIP)
Displays live video within a QTCanvas using the SGDrawable class.
Deprecated 2003-01-14
SGCapture2Disk (HTML) (DMG) (ZIP)
Use the SequenceGrabber to display video within a QTCanvas and capture the video to a movie file.
Deprecated 2003-01-14
SignatureToApp (HTML) (DMG) (ZIP)
Takes a signature (creator code) and finds the corresponding application, running or on disk.
Deprecated 2003-01-14
SimpleCocoaJavaMovie (HTML) (DMG) (ZIP)
A simple movie player showing how to use the NSMovieView and NSMovie Cocoa Java classes.
Deprecated 2003-01-14
SimpleCocoaJavaMovieCocoa (HTML) (DMG) (ZIP)
Shows how to use the NSMovieView and NSMovie Cocoa Java AppKit classes.
Deprecated 2003-01-14
SlideShowJava (HTML) (DMG) (ZIP)
Uses the ImageViewer object to present a sequence of images one at a time.
Deprecated 2003-01-14
TimeCode Media Handlers (HTML) (DMG) (ZIP)
Demonstrates how to manipulate QuickTime media time codes.
Deprecated 2003-01-14
TimeSlaving (HTML) (DMG) (ZIP)
Controls a scrolling text object by slaving a TimeBase to a movie.
Deprecated 2003-01-14
TimeZone.Daylight (HTML) (DMG) (ZIP)
Shows how to read the current location and time zone that is set in Date & Time.
Deprecated 2003-01-14
Transitions (HTML) (DMG) (ZIP)
Applies the QuickTime effects architecture to a character in an animation scene.
Deprecated 2003-01-14
Audio Unit Effect Templates (HTML) (DMG) (ZIP)
These templates are now part of the Core Audio SDK 1.4.2+.
Unsupported 2005-06-06
ASCIIMoviePlayerSample for Windows (HTML) (DMG) (ZIP)
Unsupported 2005-05-05
QDCocoaComponent (HTML) (DMG) (ZIP)
Unsupported 2005-03-15
PlayAudioFileLite (HTML) (DMG) (ZIP)
Demonstrates how to playback an audio file using the Default Output Audio Unit.
Unsupported 2004-11-24
Just Finder (HTML) (DMG) (ZIP)
Unsupported 2003-10-30
ProcDoggie (HTML) (DMG) (ZIP)
Unsupported 2003-10-30
VBLSnippet (HTML) (DMG) (ZIP)
Unsupported 2003-10-30
DelegateOnlyComponentOld (HTML) (DMG) (ZIP)
Unsupported 2003-10-27
PixMap2PixPat2ppat (HTML) (DMG) (ZIP)
Unsupported 2003-10-27
QuickDraw FX (HTML) (DMG) (ZIP)
Unsupported 2003-10-27
Rotate Bitmap 90 (HTML) (DMG) (ZIP)
Unsupported 2003-10-27
Rubber Bandit (HTML) (DMG) (ZIP)
Unsupported 2003-10-27
SeedCFill (HTML) (DMG) (ZIP)
Unsupported 2003-10-27
DroneZoneOld (HTML) (DMG) (ZIP)
Unsupported 2003-10-14
DSp Context SwitchOld (HTML) (DMG) (ZIP)
Unsupported 2003-10-14
InputSprocketTestOld (HTML) (DMG) (ZIP)
Unsupported 2003-10-14
ISp SampleOld (HTML) (DMG) (ZIP)
Unsupported 2003-10-14
MoofWarsOld (HTML) (DMG) (ZIP)
Unsupported 2003-10-14
NetSprocketTestOld (HTML) (DMG) (ZIP)
Unsupported 2003-10-14
SoundSprocketTest (HTML) (DMG) (ZIP)
Unsupported 2003-10-14
SprocketInvadersOld (HTML) (DMG) (ZIP)
Unsupported 2003-10-14
SuspendAppleEvent (HTML) (DMG) (ZIP)
Unsupported 2003-10-14
Anima (HTML) (DMG) (ZIP)
Unsupported 2003-10-10
Bitblitz (HTML) (DMG) (ZIP)
Unsupported 2003-10-10
BrightContrastEngine (HTML) (DMG) (ZIP)
Unsupported 2003-10-10
CalcCMaskCalcMask (HTML) (DMG) (ZIP)
Unsupported 2003-10-10
Color Marquee (HTML) (DMG) (ZIP)
Unsupported 2003-10-10
ColorizePict (HTML) (DMG) (ZIP)
Unsupported 2003-10-10
CopyBitsSpeedPalette (HTML) (DMG) (ZIP)
Unsupported 2003-10-10
CopyDeepMask (HTML) (DMG) (ZIP)
Unsupported 2003-10-10
CustomPicComments (HTML) (DMG) (ZIP)
Unsupported 2003-10-10
Direct Pixel Access (HTML) (DMG) (ZIP)
Unsupported 2003-10-10