Jump To:
Reference Library
Carbon is a set of C APIs offering developers an advanced user interface tool kit, event handling, the Quartz 2D graphics library, and multiprocessing support. Developers have access to other C and C++ APIs, including the OpenGL drawing system and the Mach microkernel.

A guided introduction and learning path for developers new to Carbon.   Essential information for developers using procedural C.   C API references organized by framework.
Document Descriptions
On Off
Display

Sort by
Title
Sort by
Topic
Sort by
Resource Type
Sorted by
Date
Speech Release Notes (HTML)
New document that describes new features, notes, and known issues for speech synthesis on Mac OS X v10.5.
User Experience Release Note 2007-10-31
Window Manager Reference (HTML) (PDF)
Describes the C API for creating and manipulating Carbon windows.
Human Interface Toolbox, User Experience Reference 2007-10-31
PreLoginAgents (HTML) (DMG) (ZIP)
Pre-login launchd agents to display UI using AppKit and HIToolbox.
Process Management Sample Code 2007-10-26
MassiveImage (HTML) (DMG) (ZIP)
Shows how to use a CGDataProvider to save a very large image with Image IO
Graphics & Imaging Sample Code 2007-09-27
Expanding Tilde-based paths (HTML)
QA1549: Demonstrates how to resolve tilde-based relevant paths.
File Management Technical Q&A 2007-09-24
DTSCarbonShell (HTML) (DMG) (ZIP)
Provides a modern Mac OS X Carbon Application Skeleton
Human Interface Toolbox, Text & Fonts, User Experience Sample Code 2007-09-20
Thread-safe programming in QuickTime (HTML)
TN2125: Discusses how to use QuickTime from background threads for applications and component developers.
Design Guidelines, QuickTime Technical Note 2007-09-14
Resource Programming Guide (HTML) (PDF)
Explains how to work with nib and bundle resources in Mac OS X applications.
Resource Management Guides 2007-09-04
Quartz 2D Shadings (HTML) (DMG) (ZIP)
Shows how to use CGShading and CGGradient objects to draw simple gradients.
Graphics & Imaging Sample Code 2007-08-31
Don't forget to cancel your Bonjour resolve (HTML)
QA1297: Explains why it's important to cancel a Bonjour resolve operation.
Networking Technical Q&A 2007-08-30
Launch Services Programming Guide (HTML) (PDF)
Explains how an application can open document files, other applications, and URLs.
File Management, Interapplication Communication Guides 2007-08-23
Data Browser Programming Guide (HTML) (PDF)
Explains how to present data in lists similar to the list and column views in the Finder.
Human Interface Toolbox, User Experience Guides 2007-08-07
How to measure CG text (HTML)
QA1051: Explains how to measure Core Graphics text.
Graphics & Imaging, Printing Technical Q&A 2007-08-02
Cocoa PDE with Carbon Printing (HTML) (DMG) (ZIP)
Application that uses a Cocoa PDE along with the Carbon Printing APIs.
Printing Sample Code 2007-07-27
Carbon Printing Reference (HTML) (PDF)
Describes the C API used by Carbon applications to provide a user interface for printing.
Printing Reference 2007-07-24
Core Printing Reference (HTML) (PDF)
Describes the C API that provides an abstraction layer for application printing.
Printing Reference 2007-07-24
ABPicker Reference for C (HTML) (PDF)
Describes the ABPicker opaque type.
Apple Applications Reference 2007-07-20
Application Services Reference Update (HTML) (PDF)
Summarizes the symbols added to the Application Services framework.
File Management, Graphics & Imaging Reference 2007-07-18
Carbon Reference Update (HTML) (PDF)
Summarizes the symbols added to the Carbon framework.
Human Interface Toolbox Reference 2007-07-18
CGBitmapContextCreate Supported Color Spaces (HTML)
QA1037: Lists the color space and alpha info combinations currently supported by CGBitmapContextCreate.
Games, Graphics & Imaging Technical Q&A 2007-07-18
Core Services Reference Update (HTML) (PDF)
Summarizes the symbols added to the Core Services framework.
General Reference 2007-07-18
Gathering all PostScript Printer Descriptions (PPDs) (HTML)
QA1529: Describes a work around for an issue in PMCopyAvailablePPDs on Mac OS X 10.4 and below
Printing Technical Q&A 2007-07-18
Security Reference Update (HTML) (PDF)
Summarizes the symbols added to the Security framework.
Security Reference 2007-07-18
Apple Event Manager Reference (HTML) (PDF)
Describes the C API for interapplication communication using Apple events.
Events & Other Input, Interapplication Communication, Scripting & Automation Reference 2007-07-13
File Manager Reference (HTML) (PDF)
Describes the C API for basic file management tasks, such as opening and saving files.
File Management Reference 2007-07-13
vImage Reference Collection (HTML) (PDF)
Describes the C programming interface for high-performance image processing.
Graphics & Imaging Reference 2007-07-12
Quartz Composer Programming Guide (HTML) (PDF)
Describes how to used the framework to load, play, and control compositions.
Graphics & Imaging Guides 2007-07-11
ATSUI Programming Guide (HTML) (PDF)
Explains how to lay out, process, and draw Unicode text.
Internationalization, Text & Fonts Guides 2007-07-10
Dock Tile Programming Guide (HTML) (PDF)
Explains how to provide an icon and contextual menu in Carbon applications.
User Experience Guides 2007-07-10
Navigation Services Programming Guide (HTML) (PDF)
Explains how to provide a user interface for navigating to, opening, and saving files.
File Management, User Experience Guides 2007-07-10
ABAddressBook C Reference (HTML) (PDF)
Describes the opaque type for accessing, adding, and removing Address Book records.
Apple Applications Reference 2007-07-08
Address Book Actions Reference (HTML) (PDF)
Describes the Address Book action callbacks.
Apple Applications Reference 2007-07-08
Address Book Utilities Reference (HTML) (PDF)
Describes the C functions that support the Carbon API for Address Book.
Apple Applications Reference 2007-07-08
Color Picker Manager Reference (HTML) (PDF)
Describes the C API used in Classic Mac OS to solicit color choices from users.
Graphics & Imaging Reference 2007-07-02
Image I/O Programming Guide (HTML) (PDF)
Explains how to read and write image data using the Image I/O framework.
Graphics & Imaging Guides 2007-07-02
CTFont Reference (HTML) (PDF)
Describes the Core Text opaque type that represents a font.
Text & Fonts Reference 2007-06-29
Pasteboard Manager Reference (HTML) (PDF)
Describes the C API for creating and interacting with pasteboards.
Interapplication Communication Reference 2007-06-29
QuickDraw Reference (HTML) (PDF)
Describes the C API for the legacy two-dimensional drawing engine in Mac OS. Replaced by Quartz 2D.
Graphics & Imaging Reference 2007-06-29
ATSUI Reference (HTML) (PDF)
Describes the C API for rendering Unicode-encoded text with advanced typographic features.
Graphics & Imaging, Internationalization, Text & Fonts Reference 2007-06-28
CGL Reference (HTML) (PDF)
Describes the C API for the lowest-level accessible interface for the Apple implementation of the OpenGL graphics system.
Graphics & Imaging Reference 2007-06-28
Memory Manager Reference (HTML) (PDF)
Describes the C API for controlling dynamic allocation of memory in versions of the Macintosh operating system prior to Mac OS X.
Resource Management Reference 2007-06-27
Quartz 2D Transformer (HTML) (DMG) (ZIP)
Shows how to use Quartz 2D to manipulate an image
Graphics & Imaging Sample Code 2007-06-21
vDSP Complex Vector Conversion Reference (HTML) (PDF)
Performance Reference 2007-06-15
vDSP Correlation, Convolution, and Filtering Reference (HTML) (PDF)
Performance Reference 2007-06-15
vDSP Matrix Operations Reference (HTML) (PDF)
Performance Reference 2007-06-15
vDSP One-Dimensional Fast Fourier Transforms Reference (HTML) (PDF)
Performance Reference 2007-06-15
vDSP Reference Collection (HTML) (PDF)
Performance Reference 2007-06-15
vDSP Single-Vector Operations Reference (HTML) (PDF)
Performance Reference 2007-06-15
vDSP Two-Dimensional Fast Fourier Transforms Reference (HTML) (PDF)
Performance Reference 2007-06-15
vDSP Vector Scalar Arithmetic Operations Reference (HTML) (PDF)
Performance Reference 2007-06-15
vDSP Vector-To-Scalar Operations Reference (HTML) (PDF)
Performance Reference 2007-06-15
vDSP Vector-to-Vector Arithmetic Operations Reference (HTML) (PDF)
Performance Reference 2007-06-15
HIGeometry Reference (HTML) (PDF)
Describes the C API that defines basic geometric objects for HIToolbox.
Graphics & Imaging, Human Interface Toolbox Reference 2007-06-11
Using Secure Event Input Fairly (HTML)
TN2150: Describes the proper use of EnableSecureEventInput.
Events & Other Input, Security Technical Note 2007-06-08
Text Input Source Services Reference (HTML) (PDF)
Describes the API for operating on text input sources, such as keyboards, character palettes, and ink input.
Internationalization, Text & Fonts Reference 2007-06-07
Attributed Strings Programming Guide (HTML) (PDF)
Explains how to use attributed strings, which manage attributes of character strings or individual characters.
Data Management, Text & Fonts Guides 2007-06-04
CoreTextArc (HTML) (DMG) (ZIP)
Illustrates the use of fonts, lines, and runs in a CoreText text drawing Carbon application.
Text & Fonts Sample Code 2007-06-04
CrossEvents (HTML) (DMG) (ZIP)
Demonstrates how to send CarbonEvents and NSNotifications between Carbon and Cocoa.
Design Guidelines, Events & Other Input, Porting, Process Management Sample Code 2007-05-31
CTFontDescriptor Reference (HTML) (PDF)
Describes the Core Text opaque type used to represent a font descriptor.
Text & Fonts Reference 2007-05-30
Dictionary Services Programming Guide (HTML) (PDF)
Explains how to create a dictionary and access it programmatically.
Text & Fonts Guides 2007-05-30
Audio File Services Reference (HTML) (PDF)
Describes a C programming interface for reading and writing audio files.
Audio, File Management Reference 2007-05-29
Core Endian Reference (HTML) (PDF)
Describes the C API for creating and installing callbacks to byte swap custom data.
Data Management, Intel-Based Macs, Porting Reference 2007-05-29
Dictionary Services Reference (HTML) (PDF)
Describes the Objective-C and C routines that support programmatic access to dictionaries.
Text & Fonts Reference 2007-05-29
HIView-NSView (HTML) (DMG) (ZIP)
Demonstrates how to embed an NSView within an HIView in a Carbon window.
Design Guidelines, Human Interface Toolbox, User Experience Sample Code 2007-05-29
Text Utilities Reference (HTML) (PDF)
Describes the C API for operating on strings (formatting, sorting, converting, comparing).
Text & Fonts Reference 2007-05-29
Spotlight Importer Programming Guide (HTML) (PDF)
Describes the role of metadata importers and how to write them.
File Management Guides 2007-05-27
Spotlight Overview (HTML) (PDF)
Introduces the main components and services of Apple's metadata technology.
Design Guidelines Guides 2007-05-27
CTLine Reference (HTML) (PDF)
Describes the Core Text opaque type used to represent a line of text.
Text & Fonts Reference 2007-05-24
CTRun Reference (HTML) (PDF)
Describes the Core Text opaque type used to represent a glyph run.
Text & Fonts Reference 2007-05-24
StarMenu (HTML) (DMG) (ZIP)
Shows how to create a Custom Star Shape menu using the new HIMenuView class.
Human Interface Toolbox Sample Code 2007-05-24
CFFileDescriptor Reference (HTML) (PDF)
CFFileDescriptor provides an opaque type to monitor file descriptors for read and write activity via CFRunLoop.
File Management Reference 2007-05-23
Spotlight Metadata Attributes Reference (HTML) (PDF)
Describes the usage and types of metadata attributes for various file types used with Spotlight.
File Management Reference 2007-05-22
CTFontCollection Reference (HTML) (PDF)
Describes the Core Text opaque type used to store a collection of font references.
Text & Fonts Reference 2007-05-16
Image Capture Applications Programming Guide (HTML) (PDF)
Describes the interaction between applications programs and image capture devices such as cameras and scanners.
Graphics & Imaging Guides 2007-05-16
Authorization Plug-in Reference (HTML) (PDF)
Describes the C API for implementing an authorization plug-in.
Security Reference 2007-05-15
Code Signing Guide (HTML) (PDF)
Explains how you can sign your code and why you should.
Security Guides 2007-05-15
Speech Synthesis Manager Reference (HTML) (PDF)
Describes the C API for converting text into synthesized speech.
Accessibility, User Experience Reference 2007-05-15
CTGlyphInfo Reference (HTML) (PDF)
Describes the Core Text opaque type used to override a font's mapping from Unicode to the glyph ID.
Text & Fonts Reference 2007-05-09
HIFleetingControls (HTML) (DMG) (ZIP)
Implements fleeting controls such as seen in QuickTime Player full screen mode or iPhoto slideshow
Human Interface Toolbox Sample Code 2007-05-08
Open Scripting Architecture Reference (HTML) (PDF)
Describes the API for compiling and executing scripts in applications and writing scripting components.
Interapplication Communication, Scripting & Automation Reference 2007-05-07
Resolution Independence Guidelines (HTML) (PDF)
Describes resolution independence and how to start updating applications to support high-resolution monitors.
Graphics & Imaging, User Experience Guides 2007-05-04
Core Text String Attributes Reference (HTML) (PDF)
Describes the CFAttributedString attributes recognized by Core Text.
Text & Fonts Reference 2007-05-01
CTFrame Reference (HTML) (PDF)
Describes the Core Text opaque type used to represent a frame containing multiple lines of text.
Text & Fonts Reference 2007-05-01
CTTextTab Reference (HTML) (PDF)
Describes the Core Text opaque type used to represent a tab in a paragraph style.
Text & Fonts Reference 2007-05-01
CTTypesetter Reference (HTML) (PDF)
Describes the Core Text opaque type used to represent a typesetter, which performs line layout.
Text & Fonts Reference 2007-05-01
Mac OS X ABI Mach-O File Format Reference (HTML) (PDF)
Describes the data structures that make up the Mach-O file format.
Runtime Architecture Reference 2007-04-26
Printer Queue vs. Printer Name (HTML)
QA1407: Explains the difference between a printer queue and a printer name.
Printing Technical Q&A 2007-04-26
Core Text Utilities Reference (HTML) (PDF)
Describes the Core Text functions and data types that apply to the framework as a whole.
Text & Fonts Reference 2007-04-21
CTFramesetter Reference (HTML) (PDF)
Describes the Core Text opaque type used to generate text frames.
Text & Fonts Reference 2007-04-21
CTParagraphStyle Reference (HTML) (PDF)
Describes the Core Text opaque type used to represent paragraph or ruler attributes in an attributed string.
Text & Fonts Reference 2007-04-21
QLPreviewRequest Reference (HTML) (PDF)
Describes the API related to the QLPreviewRequest opaque type of the Quick Look framework.
User Experience Reference 2007-04-20
Runtime Configuration Guidelines (HTML) (PDF)
Conceptual and reference information for dynamically configuring your software.
Design Guidelines Guides 2007-04-18
HIView Reference (HTML) (PDF)
Describes the C API for creating and manipulating view-based controls and menus in Carbon applications.
Human Interface Toolbox, User Experience Reference 2007-04-13
Quick Look Framework Reference (HTML) (PDF)
Describes the Quick Look framework classes and functions used for creating Quick Look generator plug-ins.
User Experience Reference 2007-04-13
Image I/O Reference Collection (HTML) (PDF)
Describes the API for reading and writing image data.
Graphics & Imaging Reference 2007-04-09
Icon Services and Utilities Reference (HTML) (PDF)
Describes the C API for manipulating and drawing icons in Carbon applications.
Human Interface Toolbox, User Experience Reference 2007-04-06
Mac OS X ABI Function Call Guide (HTML) (PDF)
Describes the function-calling conventions used in the architectures supported by Mac OS X.
Intel-Based Macs Guides 2007-04-04
Thread Manager Reference (HTML) (PDF)
Describes the C API for creating cooperatively scheduled threads in Carbon applications.
Process Management Reference 2007-04-04
Memory Management Programming Guide for Core Foundation (HTML) (PDF)
Explains how to allocate and deallocate objects in Core Foundation.
Core Foundation, Resource Management Guides 2007-04-03
Saving Printer Settings for Automatic Printing (HTML)
TN2155: Describes how you can save a a user selected Printer, Print Settings and Page Format to disk.
Printing Technical Note 2007-03-29