This page lists new and recently changed sample code. Most sample code has a revision history, which details additions and changes since the previous version. Look for "Revision History" at the bottom of the sample code page.

Items are listed in reverse chronological order by publication date. To see the list sorted by the type of revision, click Sort by Revision Type. Items published for the first time (First Version) will be at the top of the list, followed by items with new or changed content (Content Update), followed by items with small fixes, such as typos and format errors, but no significant content changes (Minor Change).

New and updated sample code is announced in the bi-weekly Apple Developer Connection News, available as an option to ADC members. See the Membership Overview page for details on joining.
Document Revision Descriptions
On Off
Sorted by
Date
Sort by
Title
Sort by
Revision Type
Sort by
Topic
2008-06-18 BootstrapDump (HTML) (DMG) (ZIP)
Fix a benign bug that was tripping an assert.
Minor Change Darwin
2008-06-07 FinalCutServerIntegrationSample (HTML) (DMG) (ZIP)
Shows how to integrate an external application with Final Cut Server
First Version Apple Applications
2008-06-06 QTCoreVideo102 (HTML) (DMG) (ZIP)
An application demonstrating the use of QTKit, CoreVdeo, and OpenGL.
First Version Cocoa, Graphics & Imaging, QuickTime
2008-06-06 QTCoreVideo103 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL texture range and the Core Video pixel buffer pipeline.
First Version Cocoa, Graphics & Imaging, QuickTime
2008-06-06 QTCoreVideo201 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL FBO and the Core Video texture pipeline.
First Version Cocoa, Graphics & Imaging, QuickTime
2008-06-06 QTCoreVideo202 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL PBO and the Core Video pixel buffer pipeline.
First Version Cocoa, Graphics & Imaging, QuickTime
2008-06-06 QTCoreVideo301 (HTML) (DMG) (ZIP)
Demonstrates adding of effects & filters to QuickTime Movies in realtime using GLSL shaders and the Core Video texture pipeline.
First Version Cocoa, Graphics & Imaging, QuickTime
2008-06-06 SIMD Primer (HTML) (DMG) (ZIP)
First Version Performance
2008-06-06 SpotlightFortunes (HTML) (DMG) (ZIP)
Demonstrates how to provision a Spotlight importer plug-in for a custom UTI, and how to use a NSMetadataQuery with bindings to display live query results in a table view.
First Version Carbon, Cocoa, User Experience
2008-06-05 URL CacheInfo (HTML) (DMG) (ZIP)
Demonstrates resource caching behavior using the Cocoa URL loading system.
First Version Cocoa, Internet & Web, Networking, Performance
2008-06-04 DerivedProperty (HTML) (DMG) (ZIP)
Illustrates use of Core Data derived properties to make searching against string data more efficient.
First Version Cocoa
2008-06-04 Kerberos GSS (HTML) (DMG) (ZIP)
Kerberos GSS-API Sample
First Version Networking, Security
2008-06-02 Aperture Edit Plugin - Borders & Titles (HTML) (DMG) (ZIP)
"Borders & Titles" is a sample plugin for Aperture that demonstrates how to use the image editing API introduced with Aperture 2.1
First Version Apple Applications
2008-06-02 Gamma Filter for FxPlug and AE (HTML) (DMG) (ZIP)
Project format updated from Xcode 2.4 to Xcode 3.0
Minor Change Apple Applications
2008-06-02 HTML Video Example (HTML) (DMG) (ZIP)
HTML video example with plug-in fallback
First Version Internet & Web, QuickTime
2008-06-02 HTML Video With CSS Effects (HTML) (DMG) (ZIP)
HTML 5 video example employing CSS effects
First Version Internet & Web, QuickTime
2008-06-02 Mountains (HTML) (DMG) (ZIP)
Demonstrates localization and internationalization techniques and APIs
First Version Cocoa
2008-06-02 MyMovieFilter (HTML) (DMG) (ZIP)
Updated to use a Core Animation layer-backed view.
Content Update Cocoa, Graphics & Imaging, QuickTime
2008-06-02 SimpleScriptingObjects (HTML) (DMG) (ZIP)
Changed the .sdef so that it uses XInclude to import the Standard Suite from another file instead of providing a definition of the Standard Suite in the .sdef file.
Content Update Scripting & Automation
2008-06-02 SimpleScriptingProperties (HTML) (DMG) (ZIP)
Changed the .sdef so that it uses XInclude to import the Standard Suite from another file instead of providing a definition of the Standard Suite in the .sdef file.
Content Update Scripting & Automation
2008-06-02 SimpleScriptingVerbs (HTML) (DMG) (ZIP)
Changed the .sdef so that it uses XInclude to import the Standard Suite from another file instead of providing a definition of the Standard Suite in the .sdef file.
Content Update Scripting & Automation
2008-06-02 WikiSampleThemeWithCSS (HTML) (DMG) (ZIP)
Demonstrates how to change the appearance of a wiki theme using CSS properties.
First Version Enterprise IT, Internet & Web, Mac OS X Server
2008-06-02 WikiSampleThemeWithJavaScript (HTML) (DMG) (ZIP)
Demonstrates how to add a JavaScript functionality to a wiki theme.
First Version Enterprise IT, Internet & Web, Mac OS X Server
2008-05-30 ScriptingDefinitions (HTML) (DMG) (ZIP)
Changed code used for "rich text" from 'ctxt' to 'ricT' in the Standard Text Suite in the file ScriptingDefinitions.sdef. Added a ReadMe file that talks about the new, recommened XInclude method for including the Standard Suite in an .sdef file.
Content Update Scripting & Automation
2008-05-30 SimpleScripting (HTML) (DMG) (ZIP)
Changed the .sdef so that it uses XInclude to import the Standard Suite from another file instead of providing a definition of the Standard Suite in the .sdef file.
Content Update Scripting & Automation
2008-05-15 AlbumToSlideshow (HTML) (DMG) (ZIP)
Adds the resizing of images to fit in the generated XML sequence and allows for multiple albums with the same name.
Content Update Apple Applications, Carbon, Cocoa
2008-05-09 QTMetadataEditor (HTML) (DMG) (ZIP)
Demonstrates QuickTime 7 APIs in a Metadata Browsing and Editing application
First Version Apple Applications, QuickTime
2008-05-09 WhackedTV (HTML) (DMG) (ZIP)
Fixed two bugs: (1) "Select Output Format" in the audio dialog failed with error -206 if the source audio were set to 20 or 24 bits on an Intel Mac. The source format is 24-bits aligned low in 32-bits. WhackedTV was setting this as the default output format. But QuickTime movies can only contain packed samples. Added a utility function to conform the output format for movie-safety. (2) Began preferring the kQTSGAudioPropertyID_CodecSpecificSettingsArray property to the kQTSGAudioPropertyID_MagicCookie property. See QuickTimeComponents.h for an explanation of the differences between these properties, and why CodecSpecificSettingsArray should always be preferred over MagicCookie.
Content Update Audio, Carbon, Cocoa, Graphics & Imaging, QuickTime
2008-05-07 HID Calibrator (HTML) (DMG) (ZIP)
Human Interface Device Manager Calibrator sample
First Version Games, Porting, User Experience
2008-05-07 HID Config Save (HTML) (DMG) (ZIP)
Updated for new Leopard HID Manager APIs.
Content Update Carbon, Games, Hardware & Drivers, Porting, User Experience
2008-05-07 HID Explorer (HTML) (DMG) (ZIP)
Updated *.xcconfig files to use standard SDK root paths: "SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.XXX.sdk". About box bug (typo) fixed.
Minor Change Games, User Experience
2008-05-07 SampleScannerApp (HTML) (DMG) (ZIP)
This project implements a simple client accessing an ICA scanning device.
First Version Apple Applications, Carbon, Graphics & Imaging
2008-04-24 CIColorTracking (HTML) (DMG) (ZIP)
More comments. Fixed some errors in the project.
Content Update Carbon, Cocoa, Games, Graphics & Imaging
2008-04-24 LiveVideoMixer (HTML) (DMG) (ZIP)
The update method in VideoMixView.m now makes sure that the shared OpenGL context is on the same virtual screen as the view's OpenGL context.
Content Update Graphics & Imaging, QuickTime
2008-04-24 QTCoreVideo101 (HTML) (DMG) (ZIP)
added automatic texture coordinate generation for teapot video
Content Update Cocoa, Graphics & Imaging, QuickTime
2008-03-31 iChatStatusFromApplication (HTML) (DMG) (ZIP)
Updated to ensure compatibility with Xcode Tools 3.0 and Mac OS X version 10.5.
Minor Change Apple Applications
2008-03-19 UTXplorer (HTML) (DMG) (ZIP)
Uses the <utmpx.h> API to display current login sessions and login history.
First Version Darwin
2008-03-17 AbstractTree (HTML) (DMG) (ZIP)
Fixed a typo in the definition of a leaf node.
Minor Change Cocoa, User Experience
2008-03-17 CryptNoMore (HTML) (DMG) (ZIP)
Corrected a bug with Open Directory-based authentication that was uncovered by Mac OS X 10.5. Also, Open Directory authentication now works correctly when built 64-bit.
Content Update 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.
First Version Cocoa, Internationalization
2008-03-10 CarbonCocoaTempConverter (HTML) (DMG) (ZIP)
Updated to produce a universal binary. Added code and comments for clarification.
Content Update Carbon, Cocoa