Jump To:
Leopard Sample Code: Porting
Carbon is a set of C APIs that take advantage of new features and enhancements of Mac OS X. Apple provides tools and programming interfaces to bring older Macintosh applications to Carbon and to adapt Carbon applications to new technologies.

View all Carbon Sample Code.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Date
HIView-NSView (HTML) (DMG) (ZIP)
Demonstrates how to embed an NSView within an HIView in a Carbon window.
2007-05-29
CFPrefTopScores (HTML) (DMG) (ZIP)
How to access globally shared (writable) user preferences without requiring authentication.
2006-10-09
Carbon Porting Tutorial (HTML) (DMG) (ZIP)
Porting a simple application from Mac OS 9 to Mac OS X
2006-07-25
SDKExample (HTML) (DMG) (ZIP)
Shows how to weak-link against the Carbon framework in various SDKs to adopt new OS features in a single executable.
2005-06-06
QuartzShapes (HTML) (DMG) (ZIP)
Example Quartz functions that implement equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect
2005-03-08
MoreIsBetter (HTML) (DMG) (ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
2003-10-27
LocalServer (HTML) (DMG) (ZIP)
Deprecated - Sample demonstrates how a Classic process can communicate with a Mac OS X process using IP networking protocols.
2003-01-30