Jump To:
Leopard Reference Library: Carbon
Applications often need to load specific resources in addition to their executable code. Carbon includes support for distributing, locating, and loading these resources, which include memory allocations, feature availability information, power and energy resources, and application-specific images, sounds, and localized strings.

Document Descriptions
On Off

Sort by
Sort by
Resource Type
Sorted by
Resource Programming Guide (HTML) (PDF)
Explains how to work with nib and bundle resources in Mac OS X applications.
Guides 2009-01-06
Memory Management Programming Guide for Core Foundation (HTML) (PDF)
Explains how to allocate and deallocate objects in Core Foundation.
Guides 2008-10-15
Programmatically causing restart, shutdown and/or logout (HTML) (日本語 HTML)
QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.
Technical Q&As 2008-09-24
Registering and unregistering for sleep and wake notifications (HTML)
QA1340: Explains how applications can register and unregister for sleep and wake notifications on Mac OS X.
Technical Q&As 2008-08-08
Customizing Process Stack Size (HTML)
QA1419: Describes methods for setting the stack size of a process and/or thread.
Technical Q&As 2008-02-20
Carbon Core Release Notes (HTML)
Release Notes 2007-10-31
Gestalt Manager Reference (HTML) (PDF)
Describes the C API for obtaining information about the operating-system environment.
Reference 2007-10-31
Resource Manager Reference (HTML) (PDF)
Describes the C API for accessing information stored in resource files.
Reference 2007-10-31
Memory Manager Reference (HTML) (PDF)
Describes the deprecated technology for working with dynamic memory.
Reference 2007-06-27
CFPrefTopScores (HTML) (DMG) (ZIP)
How to access globally shared (writable) user preferences without requiring authentication.
Sample Code 2006-10-09
SampleCMPlugIn (HTML) (DMG) (ZIP)
A contextual menu plugIn for Mac OS X.
Sample Code 2006-10-09
Low Memory Accessors Reference (HTML) (PDF)
Describes the C API for obtaining information stored in low-memory variables.
Reference 2006-07-13
Power Manager Reference (HTML) (PDF)
Describes the legacy C API for controlling power to the internal hardware devices of battery-powered Macintosh computers.
Reference 2006-07-13
Memory Management Utilities Reference (HTML) (PDF)
Describes the C API for accessing global variables and managing the operating-system queue.
Reference 2006-07-12
SCSI Manager Reference (HTML) (PDF)
Deprecated - Describes the C API for accessing SCSI devices in Classic Mac OS. Replaced by the I/O Kit.
Reference 2006-07-12
Time Manager Reference (HTML) (PDF)
Describes the C API for scheduling routines for execution at a later time.
Reference 2006-03-08
Bundle Programming Guide (HTML) (PDF)
Explains how to use Core Foundation bundle objects to organize resources.
Guides 2005-11-09
Preventing sleep (HTML)
QA1160: Explains how your application can prevent the system from sleeping.
Technical Q&As 2004-10-22
MapLargeFile (HTML) (DMG) (ZIP)
Shows a technique for mapping files greater than 4GB into memory for faster access.
Sample Code 2003-11-19
CPUGestalt (HTML) (DMG) (ZIP)
Deprecated - Shows how to determine the processor type of the Macintosh you're running on.
Sample Code 2003-10-27
MoreIsBetter (HTML) (DMG) (ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
Sample Code 2003-10-27
Non Mac OS X Bundled data-fork based Resources (HTML) (日本語 HTML)
QA1098: Mac OS X Bundled data-fork based Resources
Technical Q&As 2003-08-20
Fragment Tool (HTML) (DMG) (ZIP)
Demonstrates manipulation of code fragments; combining and separating; viewing and editing information associated with each.
Sample Code 2003-01-30
SetIndString (HTML) (DMG) (ZIP)
Implements SetIndString(), which sets a particular STR# string to the passed in string. Similar to GetIndString()
Sample Code 2003-01-30
NoCopyReceives (HTML) (DMG) (ZIP)
Demonstrates using no-copy receives under Open Transport.
Sample Code 2003-01-14
Resource forks in Mach-O binaries (HTML) (日本語 HTML)
QA1175: Advises against using resource forks in Mach-O binaries.
Technical Q&As 2002-08-07
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Technical Q&As 2001-10-25
The 'vers' Resource and Your Place in the World (HTML)
TX14: Setting the correct country code in the 'vers' resource to reflect the application's localization.
Technical Q&As 2000-05-01
Locking and Unlocking Handles (HTML) (日本語 HTML)
Deprecated - TN1122: Explains Memory Manager handles: locking, unlocking, and preserving a handle's state.
Technical Notes 1998-02-01
OTScheduleDeferredTask When Task Running (HTML) (日本語 HTML)
NW52: Describes what happens when you use OTScheduleDefferedTask to schedule a task that is running.
Technical Q&As 1997-10-13