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
Sort by
Topic
Sorted by
Date
CIColorTracking (HTML) (DMG) (ZIP)
An Objective-C applicaton that implements a GPU-based technique to find the location of a uniquely colored object in a scene
Carbon, Cocoa, Games, Graphics & Imaging 2008-04-24
LiveVideoMixer (HTML) (DMG) (ZIP)
LiveVideoMixer demonstrates customized video rendering with QuickTime 7 and CoreVideo and OpenGL.
Graphics & Imaging, QuickTime 2008-04-24
QTCoreVideo101 (HTML) (DMG) (ZIP)
Demonstrates (with very little code) how to render a QuickTime Movie using CoreVideo and OpenGL.
Cocoa, Graphics & Imaging, QuickTime 2008-04-24
HID Explorer (HTML) (DMG) (ZIP)
Human Interface Device Manager Explorer
Games, User Experience 2008-04-09
iChatStatusFromApplication (HTML) (DMG) (ZIP)
Demonstrates how to communicate with iChat using Scripting Bridge.
Apple Applications 2008-03-31
UTXplorer (HTML) (DMG) (ZIP)
Uses the <utmpx.h> API to display current login sessions and login history.
Darwin 2008-03-19
AbstractTree (HTML) (DMG) (ZIP)
Using NSTreeController with NSOutlineView, Bindings, and Core Data.
Cocoa, User Experience 2008-03-17
CryptNoMore (HTML) (DMG) (ZIP)
Shows how to authenticate a user using Open Directory (Directory Services).
Darwin, Networking, Security 2008-03-17
NumberInput_IMKit_Sample (HTML) (DMG) (ZIP)
Illustrates an input method that uses the Mac OS X 10.5 InputMethodKit framework.
Cocoa, Internationalization 2008-03-17
CarbonCocoaTempConverter (HTML) (DMG) (ZIP)
Demonstrates how to integrate Carbon and Cocoa user interfaces in the same Cocoa application.
Carbon, Cocoa 2008-03-10
PhotoSearch (HTML) (DMG) (ZIP)
Demonstrates advanced controls and cells. Custom drawing, hit testing, tracking, editing, expansion tooltips, tracking areas.
Cocoa 2008-03-05
SBSendEmail (HTML) (DMG) (ZIP)
Using the Scripting Bridge to tell Mail.app to send an email message with an optional attachment.
Cocoa, Internet & Web, Scripting & Automation 2008-02-28
FSMegaInfo (HTML) (DMG) (ZIP)
Prints information about various file system objects; helpful when debugging VFS plug-ins.
Carbon, Cocoa, Core Foundation, Darwin 2008-02-25
QTCompressionOptionsWindow (HTML) (DMG) (ZIP)
Demonstrates how easy it is to manage QTCompressionOptions instances with a user interface.
Cocoa, QuickTime 2008-02-22
GLUT (HTML) (DMG) (ZIP)
The OpenGL Utility Toolkit (GLUT) for Mac OS X version 3.4.0 (supporting the GLUT 3.7 API)
Graphics & Imaging 2008-02-08
OutputBins2PDE (HTML) (DMG) (ZIP)
A Printer PDE demonstrating new features in 10.5
Printing 2008-02-08
OpenGL Filter Basics Cocoa (HTML) (DMG) (ZIP)
How to use Objective-C and MVC design patterns in installing and utilizing filters in an OpenGL rendering pipeline
Cocoa, Games, Graphics & Imaging, Performance 2008-02-06
MyRecorder (HTML) (DMG) (ZIP)
Demonstrates the use of the QTKit Capture APIs
QuickTime 2008-01-29
QTControlCommandLine (HTML) (DMG) (ZIP)
Using the QuickTime COM Control object from the command line to export a movie to a different file format
QuickTime 2008-01-29
ImageApp (HTML) (DMG) (ZIP)
Demonstrates basic image handling using the ImageIO APIs in Mac OS X 10.4 Tiger
Graphics & Imaging 2008-01-24
QTAudioContextInsert (HTML) (DMG) (ZIP)
Demonstrates use of Audio Context Insert APIs to perform custom processing on QuickTime's audio stream.
Audio, Cocoa, QuickTime 2008-01-21
IconCollection (HTML) (DMG) (ZIP)
Demonstrates how to use NSCollectionView along with NSWorkspace and named images to determine its content.
Cocoa, User Experience 2008-01-18
WhackedTV (HTML) (DMG) (ZIP)
A Cocoa version of the venerable HackTV sample code, demonstrating usage of the Sequence Grabber API's
Audio, Carbon, Cocoa, Graphics & Imaging, QuickTime 2008-01-18
With and Without Bindings (HTML) (DMG) (ZIP)
Illustrates the adoption of Cocoa Bindings and refactoring using a subclass of NSArrayController.
Cocoa 2008-01-04
DictionaryController (HTML) (DMG) (ZIP)
"DictionaryController" is a Cocoa application that demonstrates various ways in how to use the NSDictionaryController class.
Cocoa, User Experience 2007-12-20
GeekGameBoard (HTML) (DMG) (ZIP)
Shows how to use Core Animation for the user interface of a board or card game.
Cocoa, Games, Graphics & Imaging, Performance 2007-12-19
MyMovieFilter (HTML) (DMG) (ZIP)
Demonstrates the QTKit QTMovieView delegate method willDisplayImage: to apply one of an array of CIFilters on a movie.
Graphics & Imaging 2007-12-13
ScriptingBridgeFinder (HTML) (DMG) (ZIP)
Using the Finder with Scripting Bridge
Scripting & Automation 2007-12-13
ScriptingBridgeiCal (HTML) (DMG) (ZIP)
Adding/updating events in iCal using Scripting Bridge.
Cocoa, Scripting & Automation 2007-12-13
SBSetFinderComment (HTML) (DMG) (ZIP)
Set/Get Finder Comments using Scripting Bridge
Cocoa, Scripting & Automation 2007-12-04
BetterAuthorizationSample (HTML) (DMG) (ZIP)
Shows the recommended way to access privileged functionality from a non-privileged application on Mac OS X.
Security 2007-11-27
FinalCutPro_AppleEvents (HTML) (DMG) (ZIP)
Uses Apple Events to interact with Final Cut Pro 5.1.2 or later.
Apple Applications 2007-11-16
HackTV Carbon (HTML) (DMG) (ZIP)
HackTV Carbon shows how to use the sequence grabber to preview and record QuickTime movie files.
Carbon, QuickTime 2007-11-16
ClosedCaptionImporter (HTML) (DMG) (ZIP)
QuickTime Movie Import Component for Scenarist Closed Caption files.
QuickTime 2007-11-15
SourceView (HTML) (DMG) (ZIP)
Demonstrates how to use NSOutlineView driven by NSTreeController.
Cocoa, Internet & Web, User Experience 2007-11-15
JavaEOGenerator (HTML) (DMG) (ZIP)
Java-based template generation engine similar to EOGenerator
Java 2007-11-14
MovieAssembler (HTML) (DMG) (ZIP)
Demonstrates AppleEvent communication with FCP, project modification using XML, and media file identification using metadata.
Apple Applications 2007-11-14
StillMotion (HTML) (DMG) (ZIP)
Demonstrates how to use the QTKit Capture APIs to build a simple application that creates stop motion animations.
Cocoa, Graphics & Imaging, QuickTime 2007-11-14
BoingX (HTML) (DMG) (ZIP)
Shows off using Quartz Extreme to provide borderless OpenGL content on the desktop.
Cocoa, Games, Graphics & Imaging 2007-11-06
GLSL Showpiece Lite (HTML) (DMG) (ZIP)
Using GLSL from a Cocoa application
Graphics & Imaging 2007-11-05
CocoaSlides (HTML) (DMG) (ZIP)
An image browser written using AppKit's Core Animation-based compositing and animation functionality
Cocoa, Graphics & Imaging 2007-11-02
GLSL Basics Cocoa (HTML) (DMG) (ZIP)
GLSL basics using NSOpenGLView
Graphics & Imaging 2007-11-02
Son of Grab (HTML) (DMG) (ZIP)
Shows how to use the new CGWindow to get window images from the Window Server.
Carbon, Cocoa, Graphics & Imaging 2007-11-01
ButtonMadness (HTML) (DMG) (ZIP)
Demonstrates how to use the various types of buttons using a nib file or programatically.
Cocoa, Tools, User Experience 2007-10-30
CFProxySupportTool (HTML) (DMG) (ZIP)
Shows how to use the CFProxySupport APIs to decide whether a network connection should pass through a proxy.
Core Foundation, Darwin, Networking 2007-10-29
BootstrapDump (HTML) (DMG) (ZIP)
Print Mach bootstrap namespace information.
Darwin 2007-10-26
NullAuthPlugin (HTML) (DMG) (ZIP)
Use this as a template for writing an authorization plugin, or as a tool to debug the authorization process.
Security 2007-10-26
PreLoginAgents (HTML) (DMG) (ZIP)
Pre-login launchd agents to display UI using AppKit and HIToolbox.
Carbon, Cocoa 2007-10-26
Cocoa OpenGL (HTML) (DMG) (ZIP)
Demonstrates using Cocoa with OpenGL, including window setup and event handling.
Cocoa, Games, Graphics & Imaging, Hardware & Drivers, Performance 2007-10-22
CalendarItems (HTML) (DMG) (ZIP)
Creates new iCal Events and Tasks ("To Do's") using Objective-C 2 and the Calendar Store framework
Apple Applications 2007-10-15
QTKitThreadsExporter (HTML) (DMG) (ZIP)
Demonstrates QTKit threading APIs by performing concurrent exports on separate threads.
Cocoa, QuickTime 2007-10-08
CIVideoDemoGL (HTML) (DMG) (ZIP)
CIVideoDemoGL demonstrates using Core Image with QuickTime and Core Video
Graphics & Imaging, QuickTime 2007-10-03
MassiveImage (HTML) (DMG) (ZIP)
Shows how to use a CGDataProvider to save a very large image with Image IO
Carbon, Cocoa, Games, Graphics & Imaging, Performance 2007-09-27
Core Animation QuickTime Layer (HTML) (DMG) (ZIP)
Shows the use of controls in a Layer over a Core Animation QTMovieLayer
Cocoa, Graphics & Imaging, QuickTime 2007-09-26
NotifyTool (HTML) (DMG) (ZIP)
Shows how to use the BSD notify API.
Darwin 2007-09-25
BundleLoader (HTML) (DMG) (ZIP)
Demonstrates how to load multiple Cocoa bundles or NSBundles (also known as plug-ins) into the main NSApplication.
Cocoa, User Experience 2007-09-21
DTSCarbonShell (HTML) (DMG) (ZIP)
Provides a modern Mac OS X Carbon Application Skeleton
Carbon 2007-09-20
QTKitTimeCode (HTML) (DMG) (ZIP)
Demonstrates how to use the QuickTime 32-bit Timecode Media Handler to Add and Remove Timecode Tracks.
Cocoa, QuickTime 2007-09-19
Fiendishthngs (HTML) (DMG) (ZIP)
Fiendishthngs lists all the the Components it finds on the system and lets you query them for information.
Cocoa, QuickTime 2007-09-13
Fader (HTML) (DMG) (ZIP)
Demonstrates fading of elements inside a Dashboard widget
Apple Applications 2007-09-12
DockTile (HTML) (DMG) (ZIP)
Demonstrates how to customize your application's icon in the Dock by using the NSDockTile class.
Cocoa, User Experience 2007-09-11
CreateMovieFromReferences (HTML) (DMG) (ZIP)
Shows how to create a movie from existing video samples in a file using AddMediaSampleReferences.
QuickTime 2007-08-31
QTKitCreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a movie from a sequence of images.
QuickTime 2007-08-31
QTKitMovieFrameImage (HTML) (DMG) (ZIP)
Using the QTMovie frameImageAtTime: withAttributes: method to get an image for the frame at a given time in a QTMovie.
QuickTime 2007-08-31
QTKitPlayer (HTML) (DMG) (ZIP)
QTKit example code to open, edit, play, import and export QuickTime movies
Cocoa, QuickTime 2007-08-31
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
OpenGLCaptureToMovie (HTML) (DMG) (ZIP)
How to capture the screen on Mac OS X using OpenGL and save to a QuickTime movie.
Graphics & Imaging, QuickTime 2007-08-30
QT Capture Widget (HTML) (DMG) (ZIP)
A Dashboard widget that uses the QTKit capture API to provide video and audio capture.
QuickTime 2007-08-27
CAPlayThrough (HTML) (DMG) (ZIP)
Illustrates how to use the HAL's Audio Output Unit (AUHAL) for device input and the Default Output Audio Unit for output.
Audio 2007-08-22
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
SimpleCocoaApp (HTML) (DMG) (ZIP)
A basic Cocoa application for beginners to Cocoa and Objective-C.
Cocoa 2007-08-07
Cocoa PDE with Carbon Printing (HTML) (DMG) (ZIP)
Application that uses a Cocoa PDE along with the Carbon Printing APIs.
Carbon, Graphics & Imaging, Printing, User Experience 2007-07-27
CustomMediaIcons (HTML) (DMG) (ZIP)
Providing custom media icons for storage
Hardware & Drivers, Storage 2007-07-10
Goodbye World (HTML) (DMG) (ZIP)
Demonstrates display and use of widget preferences to save a widget's state
Apple Applications 2007-06-28
Hello Welt (HTML) (DMG) (ZIP)
Demonstrates localization techniques for Dashboard widgets
Apple Applications, Internationalization 2007-06-25
Voices (HTML) (DMG) (ZIP)
Demonstrates use of the widget.system command from Dashboard
Apple Applications 2007-06-25
Quartz 2D Transformer (HTML) (DMG) (ZIP)
Shows how to use Quartz 2D to manipulate an image
Carbon, Cocoa, Graphics & Imaging 2007-06-21
OpenGLScreenSnapshot (HTML) (DMG) (ZIP)
Demonstrates how to get the screen pixels using OpenGL and save them to an image file.
Graphics & Imaging 2007-06-18
Apply Firmware Password (HTML) (DMG) (ZIP)
Demonstrates how to create an Automator Action for System Image Utility.
Apple Applications, Mac OS X Server, Scripting & Automation 2007-06-12
AutomatorHandsOn (HTML) (DMG) (ZIP)
Illustrates several methods for building Automator Actions
Apple Applications, Scripting & Automation 2007-06-12
JavaFrameEmbedding example (HTML) (DMG) (ZIP)
Small Cocoa application that demonstrates how to use JavaFrameEmbedding.framework
Cocoa, Internet & Web, Java, User Experience 2007-06-12
LayerBackedOpenGLView (HTML) (DMG) (ZIP)
"LayerBackedOpenGLView" provides a simple example of hosting Cocoa controls as subviews of an NSOpenGLView.
Cocoa, Graphics & Imaging, User Experience 2007-06-12
BasicCocoaAnimations (HTML) (DMG) (ZIP)
"BasicCocoaAnimations" demonstrates the use of the animator proxy to easily animate Cocoa views and windows.
Cocoa, Graphics & Imaging, User Experience 2007-06-11
CustomSave (HTML) (DMG) (ZIP)
Demonstrates how to customize the NSSavePanel.
Cocoa, User Experience 2007-06-11
HTML Editing Toolbar (HTML) (DMG) (ZIP)
Implements an HTML editing toolbar for Safari using JavaScript and CSS
Internet & Web 2007-06-11
MenuItemView (HTML) (DMG) (ZIP)
Demonstrates embedding an NSView inside a menu item or NSMenuItem.
Cocoa, User Experience 2007-06-11
NSOperationSample (HTML) (DMG) (ZIP)
Demonstrates how to use the NSOperation and NSOperationQueue classes.
Cocoa 2007-06-11
PinBallHighScores (HTML) (DMG) (ZIP)
Demonstrates use of Quartz Composer for displaying data within an application
Graphics & Imaging 2007-06-11
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
ViewController (HTML) (DMG) (ZIP)
Demonstrates how to use "NSViewController".
Cocoa, Printing, User Experience 2007-06-11
Aperture Image Resizer (HTML) (DMG) (ZIP)
Sample Aperture Export Plug-In code
Apple Applications 2007-06-08
Bound Button (HTML) (DMG) (ZIP)
Illustrates using Cocoa bindings to bind a button's target and action parameters.
Cocoa 2007-06-08
CustomAtomicStoreSubclass (HTML) (DMG) (ZIP)
Illustrates the implementation of a custom Core Data atomic store.
Cocoa 2007-06-08
Gamma Filter for FxPlug and AE (HTML) (DMG) (ZIP)
Cross-application FxPlug and After Effects plug-in code.
Apple Applications 2007-06-08
MoreSCF (HTML) (DMG) (ZIP)
High-level wrapper around System Configuration framework, making common operations easy.
Darwin, Networking 2007-06-07
Simple Bindings Adoption (HTML) (DMG) (ZIP)
A simple example that illustrates the adoption of Cocoa Bindings.
Cocoa 2007-06-07
TrackBall (HTML) (DMG) (ZIP)
Demonstrates how to build a custom control based on the NSControl class.
Cocoa, User Experience 2007-06-07
JSInterpreter (HTML) (DMG) (ZIP)
Simple JavaScript interpreter
Cocoa, Internet & Web 2007-06-06
JSPong (HTML) (DMG) (ZIP)
Pong with JavaScript AI
Cocoa, Internet & Web 2007-06-06
PredicateEditorSample (HTML) (DMG) (ZIP)
Demonstrates how to use the NSPredicateEditor class.
Apple Applications, Cocoa, User Experience 2007-06-06
PrefsPane (HTML) (DMG) (ZIP)
A Cocoa sample System Preferences bundle that demonstrates how to use the NSPreferencePane class.
Cocoa, User Experience 2007-06-06
SpeedometerView (HTML) (DMG) (ZIP)
Shows how to make a custom NSView.
Cocoa, User Experience 2007-06-06
WebKitPluginStarter (HTML) (DMG) (ZIP)
Shows how to make a minimal WebKit plug-in.
Apple Applications, Cocoa, Internet & Web 2007-06-06
WebKitPluginWithJavaScript (HTML) (DMG) (ZIP)
Shows how to call JavaScript from a WebKit plug-in and vice versa.
Apple Applications, Cocoa, Internet & Web 2007-06-06
CoreTextArc (HTML) (DMG) (ZIP)
Illustrates the use of fonts, lines, and runs in a CoreText text drawing Carbon application.
Carbon, Core Foundation, Text & Fonts, User Experience 2007-06-04
WebKitPluginWithSimpleGUI (HTML) (DMG) (ZIP)
A WebKit plug-in with an Interface Builder GUI
Apple Applications, Cocoa, Internet & Web 2007-06-04
AppleFWAudio Vendor Specific Override Driver (HTML) (DMG) (ZIP)
This KEXT allows third-party vendors to customize AppleFWAudio with their own device-specific information.
Hardware & Drivers 2007-06-01
Core Data HTML Store (HTML) (DMG) (ZIP)
Implementation of a Core Data atomic store based on HTML tables
Cocoa 2007-06-01
NewsReader (HTML) (DMG) (ZIP)
Demonstrates use of the Publication Subscription framework to create a simple RSS reader application.
Cocoa, Internet & Web, Networking 2007-06-01
OSXAdapter (HTML) (DMG) (ZIP)
Hooks into the Mac OS X Application Menu with the com.apple.eawt classes via reflection.
Java 2007-06-01
TextLayoutDemo (HTML) (DMG) (ZIP)
Customizing NSTextView with NSLayoutManager and a custom NSTextContainer.
Cocoa, Text & Fonts, User Experience 2007-06-01
TimelineToTC (HTML) (DMG) (ZIP)
Sample application demonstrating parsing/conversion of FCP XML Files.
Apple Applications 2007-06-01
CrossEvents (HTML) (DMG) (ZIP)
Demonstrates how to send CarbonEvents and NSNotifications between Carbon and Cocoa.
Carbon, Cocoa 2007-05-31
Departments and Employees (HTML) (DMG) (ZIP)
Source code for NSPersistentDocument Core Data Tutorial.
Cocoa 2007-05-31
SimpleUserClient (HTML) (DMG) (ZIP)
Shows how to create a user client for an I/O Kit kernel driver.
Audio, Darwin, Hardware & Drivers, Mac OS X Server 2007-05-31
SMARTQuery (HTML) (DMG) (ZIP)
Demonstration of how to access and use S.M.A.R.T. disk monitoring functionality
Hardware & Drivers, Mac OS X Server, Storage 2007-05-30
HIView-NSView (HTML) (DMG) (ZIP)
Demonstrates how to embed an NSView within an HIView in a Carbon window.
Carbon, Porting, User Experience 2007-05-29
StarMenu (HTML) (DMG) (ZIP)
Shows how to create a Custom Star Shape menu using the new HIMenuView class.
Carbon 2007-05-24
AutoSample (HTML) (DMG) (ZIP)
How to run and display Automator workflows in your application.
Cocoa, Scripting & Automation 2007-05-23
ObjectPath (HTML) (DMG) (ZIP)
Demonstrates how to use the NSPathControl class.
Cocoa, User Experience 2007-05-22
VideoHardwareInfo (HTML) (DMG) (ZIP)
Query VRAM, Quartz Extreme support, OpenGL extensions and renderer, GLSL version and support.
Cocoa, Games, Graphics & Imaging 2007-05-14
vDSP Examples (HTML) (DMG) (ZIP)
vDSP sample code
Performance 2007-05-10
LSMSmartCategorizer (HTML) (DMG) (ZIP)
Demonstrates the Latent Semantic Mapping (LSM) framework by automatically categorize RSS feeds.
Cocoa, Internet & Web, Networking 2007-05-09
HIFleetingControls (HTML) (DMG) (ZIP)
Implements fleeting controls such as seen in QuickTime Player full screen mode or iPhoto slideshow
Carbon 2007-05-08
KauthORama (HTML) (DMG) (ZIP)
Prints each Kauth request, illustrating how Kauth interacts with high-level operations, like copying files.
Darwin, Security 2007-04-30
DatePicker (HTML) (DMG) (ZIP)
Demonstrates how to use the NSDatePicker control.
Cocoa, User Experience 2007-04-25
SearchField (HTML) (DMG) (ZIP)
Demonstrates how to use and customize the features of the "NSSearchField" control.
Cocoa, User Experience 2007-04-25
QTRecorder (HTML) (DMG) (ZIP)
Shows how to use the new QTKit capture classes introduced in 10.5.
Cocoa, QuickTime 2007-04-10
PictureTaker (HTML) (DMG) (ZIP)
Demonstrates the PictureTaker in a basic Cocoa application
Cocoa, Graphics & Imaging 2007-04-02
MultiprecisionFP (HTML) (DMG) (ZIP)
How to utilize the gmp and arprec multiprecision floating point packages on Mac OS X
Mac OS X Server, Open Source, Performance 2007-03-26
CocoaSpeechSynthesisExample (HTML) (DMG) (ZIP)
Shows how to use the Carbon Speech Synthesis API from within a Mac OS X Cocoa application.
Games, User Experience 2007-03-23
ImageBrowser (HTML) (DMG) (ZIP)
Demonstrates the ImageKit's IKImageBrowserView to browse images in a basic Cocoa application.
Cocoa, Graphics & Imaging 2007-03-13
AESendThreadSafe (HTML) (DMG) (ZIP)
Demonstrates how to send Apple events from threads other than the main thread.
Carbon, Cocoa 2007-03-09
CallJS (HTML) (DMG) (ZIP)
Illustrates how to call JavaScripts on a web page in a WebView from Objective-C and vice versa
Cocoa, Internet & Web 2007-03-09
ScriptingDefinitions (HTML) (DMG) (ZIP)
Provides a starting sdef (scripting definition) and a completed one for the Sketch example code.
Scripting & Automation 2007-03-05
SimpleScripting (HTML) (DMG) (ZIP)
Illustrates the minimal steps required to make an application scriptable.
Scripting & Automation 2007-03-05
SimpleScriptingObjects (HTML) (DMG) (ZIP)
How to add scriptable objects to an AppleScriptable application.
Scripting & Automation 2007-03-05
SimpleScriptingProperties (HTML) (DMG) (ZIP)
How to add some properties to the terminology provided by an AppleScriptable application.
Scripting & Automation 2007-03-05
SimpleScriptingVerbs (HTML) (DMG) (ZIP)
How to add verbs to the terminology provided by an AppleScriptable application.
Scripting & Automation 2007-03-05
TrackIt (HTML) (DMG) (ZIP)
Demonstrates how to use the NSTrackingArea class.
Cocoa, User Experience 2007-03-05
SimpleCarbonAppleScript (HTML) (DMG) (ZIP)
A simple example illustrating how to add readable and writable AppleScript properties to Carbon Application.
Scripting & Automation 2007-03-01
Grady (HTML) (DMG) (ZIP)
Demonstrates how to use the NSGradient class.
Cocoa, Graphics & Imaging, User Experience 2007-02-28
RecordAudioToFile (HTML) (DMG) (ZIP)
Demonstrates recording audio to an AAC file using Core Audio
Audio, Carbon, Games, Performance 2007-02-27
TwoManyControllers (HTML) (DMG) (ZIP)
How to use an intermediate NSArrayController to populate an NSTableView across two to-many relationships.
Cocoa, User Experience 2007-02-23
SCSIHBAEmulator (HTML) (DMG) (ZIP)
Demonstration of how to implement a virtual parallel tasking SCSI host bus adapter (HBA)
Darwin, Hardware & Drivers, Mac OS X Server 2007-02-20
UIElementInspector (HTML) (DMG) (ZIP)
Demonstrates using the Accessibility API introduced in Mac OS X 10.2, which allows manipulation of an application's UI.
Cocoa, User Experience 2007-02-19
FSReplaceObject (HTML) (DMG) (ZIP)
FSReplaceObject is an example command line tool showing how to exercise the FSReplaceObject and FSPathReplaceObject related APIs.
Carbon 2007-02-14
SoftVDigX (HTML) (DMG) (ZIP)
Demonstrates the "Compressed Source" model and an updated implementation of the Video Digitizer APIs for Mac OS X.
QuickTime 2007-02-14
Cocoa_With_Carbon_or_CPP (HTML) (DMG) (ZIP)
Shows how to call Carbon routines and C++ code from within an Objective-C Cocoa program.
Carbon, Cocoa 2007-02-05
CarbonCocoa_PictureCursor (HTML) (DMG) (ZIP)
Demonstrates how to use NSCursor from a Carbon based application.
Carbon, Cocoa, Porting, User Experience 2007-01-12
CoreTextTest (HTML) (DMG) (ZIP)
Shows how to handle the CoreText objects to display text.
Carbon, Core Foundation, Text & Fonts 2006-12-19
SCSIOldAndNew (HTML) (DMG) (ZIP)
Demonstrates a backward-compatible technique for communicating with SCSI parallel devices on Mac OS X.
Hardware & Drivers 2006-12-07
SetMouseAcclSample (HTML) (DMG) (ZIP)
Find HID System Manager and get/set cursor acceleration
Carbon, Cocoa, Games, Hardware & Drivers, User Experience 2006-11-28
tcplognke (HTML) (DMG) (ZIP)
Demonstrates a TCP socket filter based on supported Kernel Programming Interfaces for Tiger
Hardware & Drivers, Networking 2006-11-27
EmptyFS (HTML) (DMG) (ZIP)
A very simple VFS plug-in that mounts a volume that is completely empty.
Darwin 2006-11-09
LittleArrowsShowcase (HTML) (DMG) (ZIP)
How to increment and decrement the LittleArrows value when the user clicks on the up and down buttons.
Carbon 2006-11-09
MFSLives (HTML) (DMG) (ZIP)
Sample VFS plug-in for the Macintosh File System (MFS) volume format, as used on 400KB floppies.
Darwin 2006-11-09
QTExtractAndConvertToAIFF (HTML) (DMG) (ZIP)
Demonstrates using MovieAudioExtraction and an AudioConverter to extract and convert audio to a AIFF file.
Audio, Cocoa, QuickTime 2006-11-08
QTExtractAndConvertToMovieFile (HTML) (DMG) (ZIP)
Demonstrates using MovieAudioExtraction and an AudioConverter to extract and convert audio to a QuickTime movie file.
Audio, Cocoa, QuickTime 2006-11-08
NSFontAttributeExplorer (HTML) (DMG) (ZIP)
Demonstrates how to gather and display various metric information for installed fonts using NSFont.
Cocoa, Text & Fonts, User Experience 2006-10-26
TremoloUnit (HTML) (DMG) (ZIP)
Audio unit sample demonstrating how to build an effect unit with a generic view.
Audio, Carbon, Cocoa 2006-10-26
SimplePlayThru (HTML) (DMG) (ZIP)
Use the HAL's Audio Output Unit (AUHAL) for device input and output on a single device (play-thru)
Audio, Carbon, Games, Hardware & Drivers 2006-10-25
AppleJavaExtensions (HTML) (DMG) (ZIP)
Stub classes for compiling com.apple.eawt/com.apple.eio references on non-Mac OS X platforms.
Java 2006-10-17
SeeMyFriends (HTML) (DMG) (ZIP)
Illustrates how to use SyncServices API in a Carbon (HLTB) based application
Apple Applications, Carbon 2006-10-16
USBPrivateDataSample (HTML) (DMG) (ZIP)
Demonstrates notifications when a USB device is hotplugged and associating arbitrary data with each device.
Hardware & Drivers 2006-10-16
VolumeToBSDNode (HTML) (DMG) (ZIP)
Shows how to iterate across all mounted volumes and retrieve their BSD node names.
Carbon, Darwin, Hardware & Drivers, Mac OS X Server, Storage 2006-10-16
CFFTPSample (HTML) (DMG) (ZIP)
A simple example showing how to use CFFTPStream to download and upload files.
Core Foundation, Networking 2006-10-13
CFPrefTopScores (HTML) (DMG) (ZIP)
How to access globally shared (writable) user preferences without requiring authentication.
Carbon, Core Foundation, Games, Porting 2006-10-09
MyCustomColorPicker (HTML) (DMG) (ZIP)
Shows how to write a custom color picker using Cocoa.
Cocoa, Graphics & Imaging, User Experience 2006-10-09
RecentItems (HTML) (DMG) (ZIP)
Implements "Recent items" menu(s)
Carbon, Core Foundation 2006-10-09
SampleCMPlugIn (HTML) (DMG) (ZIP)
A contextual menu plugIn for Mac OS X.
Carbon, Scripting & Automation 2006-10-09
CarbonBonjour (HTML) (DMG) (ZIP)
Demonstrates using CFNetServices (Bonjour) in a Carbon application.
Carbon, Core Foundation, Networking 2006-10-03
CxxNewDelete (HTML) (DMG) (ZIP)
How to override the C++ 'new' and 'delete' operators.
Tools 2006-10-03
CarbonQuartzComposer_TV (HTML) (DMG) (ZIP)
Demonstrates how to integrate Cocoa based QuartzComposer window into a Carbon based application
Carbon, Cocoa, Graphics & Imaging, Porting 2006-10-02
ImageBackground (HTML) (DMG) (ZIP)
Shows how to draw an image in the background of an NSOutlineView and NSTableView.
Cocoa, Graphics & Imaging, User Experience 2006-10-02
PBORenderToVertexArray (HTML) (DMG) (ZIP)
This sample demonstrates render-to-vertex-array using FBO, PBO, and VBO.
Graphics & Imaging 2006-10-02
VendorSpecificType00 (HTML) (DMG) (ZIP)
Demonstrates how to access vendor-specific storage device functionality using a simple interface from user space code.
Darwin, Hardware & Drivers 2006-10-02
CITransitionSelectorSample2 (HTML) (DMG) (ZIP)
Showing all available Core Image transitions in a scrollable NSOpenGLView
Graphics & Imaging 2006-09-18
FBOBunnies (HTML) (DMG) (ZIP)
Demonstrates how to use framebuffer objects (FBO)
Graphics & Imaging, Performance 2006-09-18
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
InstallerPluginSample (HTML) (DMG) (ZIP)
Provides instructions for extending software installation using custom plugins
Games, Tools, User Experience 2006-08-30
SCAudioCompress (HTML) (DMG) (ZIP)
Demonstrates audio compression using QuickTime Standard Audio Compression Component
QuickTime 2006-08-22
StickiesExample (HTML) (DMG) (ZIP)
Contains sample code and tools used by Sync Services Tutorial to demonstrate debugging syncing applications.
Apple Applications, Carbon, Cocoa, Internet & Web, User Experience 2006-08-08
QCFundamentals (HTML) (DMG) (ZIP)
Demonstrates Coordinate, Interpolation, and Iterative systems in Quartz Composer with an amusing animation
Apple Applications, Cocoa, Graphics & Imaging, Tools 2006-08-07
QCGalaxy (HTML) (DMG) (ZIP)
Demonstrates use of Particle Systems and Core Image Filters in Quartz Composer
Apple Applications, Cocoa, Graphics & Imaging, Tools 2006-08-07
ABPresence (HTML) (DMG) (ZIP)
Displays a list of all the people in your Address Book and their iChat status.
Apple Applications, Carbon, Cocoa, Internet & Web, Storage, User Experience 2006-08-04
HIToolboxSOU-Delegates (HTML) (DMG) (ZIP)
Shows how to use the HIObject Delegate API.
Carbon 2006-08-04
HIToolboxSOU-MenuItemViews (HTML) (DMG) (ZIP)
Shows how to use the Menu Item View API.
Carbon 2006-08-04
iChatAppleScriptSamples (HTML) (DMG) (ZIP)
Sample AppleScripts demonstrating new iChat AppleScript features in Leopard, including Event Handlers.
Apple Applications 2006-08-04
SayIt (HTML) (DMG) (ZIP)
Web Kit plug-in which speaks text passed via JavaScript
Apple Applications, Cocoa, Internet & Web, User Experience 2006-08-04
Watcher (HTML) (DMG) (ZIP)
Uses FSEvents to monitor a directory hierarchy to keep track of its total size
Carbon, Cocoa, Core Foundation, Darwin 2006-08-04
WebKitDOMElementPlugIn (HTML) (DMG) (ZIP)
A Web Kit plug-in that modifies its own DOM element style
Apple Applications, Cocoa, Internet & Web 2006-08-04
AudioQueueTest (HTML) (DMG) (ZIP)
Demonstrates AudioQueue, an audio playback API introduced in Mac OS X 10.5
Audio, Carbon 2006-08-01
BlockAnimation (HTML) (DMG) (ZIP)
A bit of java code which INCORRECTLY handles animation
Java, Tools 2006-08-01
Dicey (HTML) (DMG) (ZIP)
Dicey is a dice game project that demonstrates various techniques for making a Cocoa application accessible.
Cocoa 2006-08-01
DynamicProperties (HTML) (DMG) (ZIP)
Demonstrates dynamically resolved properties, using a new Objective C 2.0 feature: dynamically resolved methods.
Cocoa 2006-08-01
IBFragmentView (HTML) (DMG) (ZIP)
Illustrates building an Interface Builder plugin including a custom inspector and library integration for a custom view.
Tools 2006-08-01
IKSlideshowDemo (HTML) (DMG) (ZIP)
This small sample project shows how to use the ImageKit Slideshow to display images or PDFs.
Graphics & Imaging 2006-08-01
iSync Sample Document (HTML) (DMG) (ZIP)
iSync Plug-in Maker sample document, illustrating how to build an iSync plug-in for a SyncML phone.
Apple Applications, Tools 2006-08-01
LiveVideoMixer3 (HTML) (DMG) (ZIP)
LiveVideoMixer3 is extended to support Video In via QTKit
Cocoa, Graphics & Imaging, QuickTime 2006-08-01
MethodReplacement (HTML) (DMG) (ZIP)
Demonstrates an Objective C 2 compatible way to replace a method in an existing Objective C class.
Cocoa 2006-08-01
MigrationV2 (HTML) (DMG) (ZIP)
Demonstrates using a migration mapping and policy to migrate from one store model version to another.
Cocoa 2006-08-01
QTKitButtonTester (HTML) (DMG) (ZIP)
Shows how to use the QTMovieView methods for hiding and showing the buttons in the movie controller bar.
Cocoa, QuickTime 2006-08-01
QTKitThreadedExport (HTML) (DMG) (ZIP)
Shows how to export a QTMovie on a background thread.
Cocoa, QuickTime 2006-08-01
QTNoStepsDemo (HTML) (DMG) (ZIP)
Shows how to subclass QTMovieView to override its default behaviors.
Cocoa, QuickTime 2006-08-01
QuickLookSketch (HTML) (DMG) (ZIP)
A Quick Look preview generator for the Sketch sample application.
Tools 2006-08-01
Resizer (HTML) (DMG) (ZIP)
A widget that demonstrates how to use the Apple Animation and Animator classes.
Apple Applications 2006-08-01
SetCustomIcon (HTML) (DMG) (ZIP)
Demonstrates how to programmatically set a custom icon for a file, folder, or disk.
Carbon, Graphics & Imaging, User Experience 2006-08-01
Syncer (HTML) (DMG) (ZIP)
A widget that demonstrates how to use handle a Dashboard Sync event.
Apple Applications 2006-08-01
TrackFormatDemo (HTML) (DMG) (ZIP)
Shows how to get a human-readable, localized description of a track's format.
Cocoa, QuickTime 2006-08-01
WritableFileDemo (HTML) (DMG) (ZIP)
Shows how to create an empty, writable file associated with a QTMovie object.
Cocoa, QuickTime 2006-08-01
AppleScriptRunner (HTML) (DMG) (ZIP)
How to send mail and execute other AppleScripts from a Carbon application.
Apple Applications, Carbon, Scripting & Automation, User Experience 2006-07-31
PDF Annotation Editor