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-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-04-09 HID Explorer (HTML) (DMG) (ZIP)
Update for new Leopard API's and Universal Binary. Dropped MWCW, Project Builder and CFM support.
Content Update Games, User Experience
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
2008-03-05 PhotoSearch (HTML) (DMG) (ZIP)
Removed pre-Leopard workarounds for highlighting cells. Also replaced deprecated -selectRows:byExtendingSelection: and -columnsInRect: with their modern NSIndexSet replacements.
Content Update Cocoa
2008-02-28 SBSendEmail (HTML) (DMG) (ZIP)
Using the Scripting Bridge to tell Mail.app to send an email message with an optional attachment.
First Version Cocoa, Internet & Web, Scripting & Automation
2008-02-25 FSMegaInfo (HTML) (DMG) (ZIP)
Prints information about various file system objects; helpful when debugging VFS plug-ins.
First Version Carbon, Cocoa, Core Foundation, Darwin
2008-02-22 QTCompressionOptionsWindow (HTML) (DMG) (ZIP)
Demonstrates how easy it is to manage QTCompressionOptions instances with a user interface.
First Version Cocoa, QuickTime
2008-02-08 GLUT (HTML) (DMG) (ZIP)
1) Better Joystick/Spaceball handling. 2) Better startup times. 3) Fixed issue with leaving gamemode. 4) Improved bundled appilcation handing. 5) Improved mouse button handling. 6) Fixed issue with child menu handling.
Minor Change Graphics & Imaging
2008-02-08 OutputBins2PDE (HTML) (DMG) (ZIP)
A Printer PDE demonstrating new features in 10.5
First Version Printing
2008-02-06 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
First Version Cocoa, Games, Graphics & Imaging, Performance
2008-01-29 MyRecorder (HTML) (DMG) (ZIP)
Added code to specify audio & video compression options when recording.
Content Update 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
First Version QuickTime
2008-01-24 ImageApp (HTML) (DMG) (ZIP)
Fixed memory leaks. Upgraded project to Xcode 2.5.
Content Update Graphics & Imaging
2008-01-21 QTAudioContextInsert (HTML) (DMG) (ZIP)
Editorial
Minor Change Audio, Cocoa, QuickTime
2008-01-18 IconCollection (HTML) (DMG) (ZIP)
Demonstrates how to use NSCollectionView along with NSWorkspace and named images to determine its content.
First Version Cocoa, User Experience
2008-01-18 WhackedTV (HTML) (DMG) (ZIP)
Fixed a bug in SGAudioSettings.mm where multiple audio devices with the same name would only be listed once.
Content Update Audio, Carbon, Cocoa, Graphics & Imaging, QuickTime