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
Sort by
Revision Type
Sorted by
Topic
2008-09-10 Birthdays (HTML) (DMG) (ZIP)
Provided a value for the NSPrincipalClass key. Replaced occurrence of NSCalendarDate objects with NSCalendar + NSDate objects.
Content Update Apple Applications
2008-08-06 HTML Video With CSS Effects and Custom Video Controls (HTML) (DMG) (ZIP)
- Added keywords - Added "Safari" to Dev Centers and Locations - Modified title and description to include information about custom controls - Added a ReadMe file - Changed minimum requirements from 10.5 to Safari 3.1 (which is also available on Tiger) No changes were made to the code in this sample.
Minor Change Apple Applications
2008-08-21 PhotoToss: CSS Transforms, Transitions, and Web Fonts (HTML) (DMG) (ZIP)
Demonstrates how to use CSS Transforms, Transitions, and Web Fonts.
First Version Apple Applications
2008-07-25 Reminders (HTML) (DMG) (ZIP)
Dashboard widget with a plug-in that displays upcoming iCal events, to do items, and calendars.
First Version Apple Applications
2008-08-27 SimpleUserClient (HTML) (DMG) (ZIP)
Now demonstrates 64-bit user client APIs, how to build a sub-kext to support older OS versions, and how to build the test tool 4-way universal.
Content Update Audio
2008-09-30 CALayerEssentials (HTML) (DMG) (ZIP)
Demonstrates the basics of setting up various Core Animation layers
First Version Cocoa
2008-07-25 Movie Overlay (HTML) (DMG) (ZIP)
Updated for QTMovieView.
Content Update Cocoa
2008-07-25 PortMapper (HTML) (DMG) (ZIP)
Demonstrates Bonjour's NAT port-mapping API, and provides a higher-level Objective-C interface to it.
First Version Cocoa
2008-07-25 Reminders (HTML) (DMG) (ZIP)
Dashboard widget with a plug-in that displays upcoming iCal events, to do items, and calendars.
First Version Cocoa
2008-10-13 SBSystemPrefs (HTML) (DMG) (ZIP)
Shows how to use Scripting Bridge to display a preference pane in System Preferences.
First Version Cocoa
2008-08-29 Squiggles (HTML) (DMG) (ZIP)
Demonstrates many Cocoa fundamentals in a Document-based Application featuring custom drawing and event-handling.
First Version Cocoa
2008-06-18 BootstrapDump (HTML) (DMG) (ZIP)
Fix a benign bug that was tripping an assert.
Minor Change Darwin
2008-08-27 SimpleUserClient (HTML) (DMG) (ZIP)
Now demonstrates 64-bit user client APIs, how to build a sub-kext to support older OS versions, and how to build the test tool 4-way universal.
Content Update Darwin
2008-09-30 CALayerEssentials (HTML) (DMG) (ZIP)
Demonstrates the basics of setting up various Core Animation layers
First Version Games
2008-07-25 HID LED test tool (HTML) (DMG) (ZIP)
HID Manager sample project that shows how to set and clear keyboard LEDs.
First Version Games
2008-09-30 CALayerEssentials (HTML) (DMG) (ZIP)
Demonstrates the basics of setting up various Core Animation layers
First Version Graphics & Imaging
2008-07-30 CoreImageGLTextureFBO (HTML) (DMG) (ZIP)
Making OpenGL textures with Core Image
First Version Graphics & Imaging
2008-07-30 GLSL Basics Cocoa (HTML) (DMG) (ZIP)
Refactored the sample code to better demonstrate the interaction of OpenGL APIs with an OpenGL view. Moved the GLSL program object instantiation into its own basic class. Moved the GLSL hardware check code into its a separate file. Consistent use of float math library functions for pattern and palette generation. Animation continues during window resizing. Consistent use of doubles and their OpenGL equivalents during geometry generation. Updated the Xcode project to use the new format. Updated the NIB to use the new format. Added a simple GLUT string class.
Content Update Graphics & Imaging
2008-08-14 OpenGLScreenSnapshot (HTML) (DMG) (ZIP)
Code refactoring.
Content Update Graphics & Imaging
2008-08-29 Squiggles (HTML) (DMG) (ZIP)
Demonstrates many Cocoa fundamentals in a Document-based Application featuring custom drawing and event-handling.
First Version Graphics & Imaging
2008-08-27 SimpleUserClient (HTML) (DMG) (ZIP)
Now demonstrates 64-bit user client APIs, how to build a sub-kext to support older OS versions, and how to build the test tool 4-way universal.
Content Update Hardware & Drivers
2008-08-06 HTML Video With CSS Effects and Custom Video Controls (HTML) (DMG) (ZIP)
- Added keywords - Added "Safari" to Dev Centers and Locations - Modified title and description to include information about custom controls - Added a ReadMe file - Changed minimum requirements from 10.5 to Safari 3.1 (which is also available on Tiger) No changes were made to the code in this sample.
Minor Change Internet & Web
2008-08-21 PhotoToss: CSS Transforms, Transitions, and Web Fonts (HTML) (DMG) (ZIP)
Demonstrates how to use CSS Transforms, Transitions, and Web Fonts.
First Version Internet & Web
2008-07-25 PortMapper (HTML) (DMG) (ZIP)
Demonstrates Bonjour's NAT port-mapping API, and provides a higher-level Objective-C interface to it.
First Version Internet & Web
2008-08-27 SimpleUserClient (HTML) (DMG) (ZIP)
Now demonstrates 64-bit user client APIs, how to build a sub-kext to support older OS versions, and how to build the test tool 4-way universal.
Content Update Mac OS X Server
2008-07-25 PortMapper (HTML) (DMG) (ZIP)
Demonstrates Bonjour's NAT port-mapping API, and provides a higher-level Objective-C interface to it.
First Version Networking
2008-07-25 HID LED test tool (HTML) (DMG) (ZIP)
HID Manager sample project that shows how to set and clear keyboard LEDs.
First Version Porting
2008-08-06 HTML Video With CSS Effects and Custom Video Controls (HTML) (DMG) (ZIP)
- Added keywords - Added "Safari" to Dev Centers and Locations - Modified title and description to include information about custom controls - Added a ReadMe file - Changed minimum requirements from 10.5 to Safari 3.1 (which is also available on Tiger) No changes were made to the code in this sample.
Minor Change QuickTime
2008-07-25 Movie Overlay (HTML) (DMG) (ZIP)
Updated for QTMovieView.
Content Update QuickTime
2008-10-13 SBSystemPrefs (HTML) (DMG) (ZIP)
Shows how to use Scripting Bridge to display a preference pane in System Preferences.
First Version Scripting & Automation
2008-09-10 Birthdays (HTML) (DMG) (ZIP)
Provided a value for the NSPrincipalClass key. Replaced occurrence of NSCalendarDate objects with NSCalendar + NSDate objects.
Content Update Tools
2008-07-25 Reminders (HTML) (DMG) (ZIP)
Dashboard widget with a plug-in that displays upcoming iCal events, to do items, and calendars.
First Version Tools
2008-07-25 HID LED test tool (HTML) (DMG) (ZIP)
HID Manager sample project that shows how to set and clear keyboard LEDs.
First Version User Experience