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
2009-07-02 GLUTStereo (HTML) (ZIP)
Upgraded for Mac OS X 10.5, Xcode 3.1
Content Update Graphics & Imaging
2009-06-29 Dicey (HTML) (ZIP)
Moved example from hands-on format used at a past WWDC to a more standard code sample format.
Content Update Cocoa
2009-06-04 CocoaDVDPlayer (HTML) (ZIP)
Updated for Mac OS X v10.5. Switched from deprecated QuickDraw-based functions to new Core Graphics-based functions. Developers using CocoaDVDPlayer 1.0 are encouraged to migrate to this version.
Content Update Graphics & Imaging
2009-06-02 HID LED test tool (HTML) (ZIP)
Updated for Leopard HID
Minor Change Games, Porting, User Experience
2009-06-01 HID Dumper (HTML) (ZIP)
Human Interface Device info Dumper
First Version Carbon, Cocoa, Games, Hardware & Drivers, Porting, User Experience
2009-05-29 HID Calibrator (HTML) (ZIP)
Added IOHIDValueGetInteger bug workaround Added IOHIDElement_SetupCalibration routine Removed unnecessary "#include"'s Removed dead (unused) code
Content Update Carbon, Cocoa, Games, Porting, User Experience
2009-05-21 HID Config Save (HTML) (ZIP)
Added IOHIDElement_SetupCalibration routine Updated routine comments (in sources and headers) Added "#pragma unused (x)"... project cleanup (unused/dead code stripping) Removed unnecessary "#include"'s
Content Update Carbon, Games, Hardware & Drivers, Porting, User Experience
2009-05-11 QuickLookSketch (HTML) (ZIP)
Updated code to use saveGraphicsState and restoreGraphicsState instead of currentContext and setCurrentContext to avoid a crash.
Minor Change Tools, User Experience
2009-05-11 RoundTransparentWindow (HTML) (ZIP)
Updated for Xcode Tools version 3.1 and Objective C 2.0.
Content Update Cocoa
2009-05-11 SimpleScriptingPlugin (HTML) (ZIP)
Illustrates how to add a scripting plugin to a scriptabile application.
First Version Cocoa, Scripting & Automation
2009-04-29 File Wrappers with Core Data Documents (HTML) (ZIP)
This sample demonstrates how directory file wrappers can be used with NSPersistentDocument.
First Version Cocoa
2009-04-21 ASCIIMoviePlayerSample (HTML) (ZIP)
Minor Update
Minor Change QuickTime
2009-04-07 QTCoreVideo202 (HTML) (ZIP)
Performance improvement with movie pixel buffersand streaming textures.
Minor Change Cocoa, Graphics & Imaging, QuickTime
2009-04-07 QTCoreVideo301 (HTML) (ZIP)
Fixed an issue with shader units that caused an OpenGL error.
Content Update Cocoa, Graphics & Imaging, QuickTime
2009-03-19 QTCarbonShell (HTML) (ZIP)
Minor editorial corrections.
Minor Change Carbon, QuickTime
2009-03-16 QTMetaData (HTML) (ZIP)
Minor update to StringUtils.c
Content Update Carbon, QuickTime