Leopard Sample Code
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
Sort by
Date
Sort by
Title
Sorted by
Revision Type
Sort by
Topic
2009-04-29 File Wrappers with Core Data Documents (HTML) (DMG) (ZIP)
This sample demonstrates how directory file wrappers can be used with NSPersistentDocument.
First Version Data Management, File Management
2008-10-13 SBSystemPrefs (HTML) (DMG) (ZIP)
Shows how to use Scripting Bridge to display a preference pane in System Preferences.
First Version Interapplication Communication, Scripting & Automation
2008-09-30 CALayerEssentials (HTML) (DMG) (ZIP)
Demonstrates the basics of setting up various Core Animation layers
First Version Graphics & Imaging
2009-04-07 QTCoreVideo301 (HTML) (DMG) (ZIP)
Fixed an issue with shader units that caused an OpenGL error.
Content Update Graphics & Imaging, QuickTime
2009-02-13 PMPrinterTest (HTML) (DMG) (ZIP)
Now uses a table view to display the results, and bindings to fill the table view. Cleaned up numerous memory leaks.
Content Update Printing
2009-04-07 QTCoreVideo202 (HTML) (DMG) (ZIP)
Performance improvement with movie pixel buffersand streaming textures.
Minor Change Graphics & Imaging, QuickTime