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
Sorted by
Title
Sort by
Revision Type
Sort 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, Tools
2008-06-18 BootstrapDump (HTML) (DMG) (ZIP)
Fix a benign bug that was tripping an assert.
Minor Change Darwin
2008-09-30 CALayerEssentials (HTML) (DMG) (ZIP)
Demonstrates the basics of setting up various Core Animation layers
First Version Cocoa, Games, Graphics & Imaging
2008-07-30 CoreImageGLTextureFBO (HTML) (DMG) (ZIP)
Making OpenGL textures with Core Image
First Version Graphics & Imaging
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-07 FinalCutServerIntegrationSample (HTML) (DMG) (ZIP)
Shows how to integrate an external application with Final Cut Server
First Version Apple Applications
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-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, Porting, User Experience
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, Internet & Web, QuickTime
2008-06-04 Kerberos GSS (HTML) (DMG) (ZIP)
Kerberos GSS-API Sample
First Version Networking, Security
2008-07-25 Movie Overlay (HTML) (DMG) (ZIP)
Updated for QTMovieView.
Content Update Cocoa, QuickTime
2008-08-14 OpenGLScreenSnapshot (HTML) (DMG) (ZIP)
Code refactoring.
Content Update Graphics & Imaging
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, 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 Cocoa, Internet & Web, Networking
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-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, Cocoa, Tools
2008-06-06 SIMD Primer (HTML) (DMG) (ZIP)
First Version Performance
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, Darwin, Hardware & Drivers, Mac OS X Server
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-08-29 Squiggles (HTML) (DMG) (ZIP)
Demonstrates many Cocoa fundamentals in a Document-based Application featuring custom drawing and event-handling.
First Version Cocoa, Graphics & Imaging
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