Jump To:
The Reference Library is a comprehensive collection of Apple technical resources, including Articles, Guides, Reference, Release Notes, Sample Code, Technical Notes, and Technical Q&As. Each of the links below leads to the resources for a specific topic.

Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Topic
Sort by
Resource Type
Sort by
Date
Xsan 2 Setup Guide (PDF)
Explains how to set up a volume on a storage area network (SAN) using Xsan 2.
Performance Guides 2008-06-09
Xsan Programming Guide (HTML) (PDF)
Describes managing files and storage pools with Xsan.
Performance Guides 2006-05-23
Xsan Reference (HTML) (PDF)
Describes the Xsan API commands.
Performance Reference 2006-05-23
64-Bit Guide for Carbon Developers (HTML) (PDF)
Explains the changes necessary to create a 64-bit executable version of a Carbon application.
Porting Guides 2007-12-11
64-Bit Transition Guide (HTML) (PDF)
Describes the 64-bit features available in Mac OS X.
Porting Guides 2008-04-08
Adopting Universal Binaries on Mac OS X (HTML)
Learn about universal binaries and how to get your applications ready for Intel-based Macs.
Porting Articles 2005-08-26
AGL Changes for Mac OS X Leopard (v. 10.5) (HTML)
QA1523: This Q&A describes the new and deprecated APIs for Apple OpenGL (AGL)
Porting Technical Q&As 2008-01-04
Apple Human Interface Guidelines (HTML) (PDF)
Introduces the Mac OS X user experience and explains how to design an application for Aqua.
Porting Guides 2008-06-09
BasicPlugIn (HTML) (DMG) (ZIP)
Uses the CFPlugin to locate, load, execute plugin. Derived from the SillyBalls sample.
Porting Sample Code 2003-07-28
Carbon Porting Tutorial (HTML) (DMG) (ZIP)
Porting a simple application from Mac OS 9 to Mac OS X
Porting Sample Code 2006-07-25
CarbonCocoa_PictureCursor (HTML) (DMG) (ZIP)
Demonstrates how to use NSCursor from a Carbon based application.
Porting Sample Code 2007-01-12
CarbonCocoaCoreImageTab (HTML) (DMG) (ZIP)
Carbon-based application creates a Cocoa-based web window which used CoreImage filters to transition between tabbed WebViews
Porting Sample Code 2006-07-25
CarbonQuartzComposer_TV (HTML) (DMG) (ZIP)
Demonstrates how to integrate Cocoa based QuartzComposer window into a Carbon based application
Porting Sample Code 2006-10-02
CFPrefTopScores (HTML) (DMG) (ZIP)
How to access globally shared (writable) user preferences without requiring authentication.
Porting Sample Code 2006-10-09
Creating Cross-Platform Applications with Core Foundation and Open Source (HTML)
Learn how to import and export data types across a range of platforms using CF-Lite.
Porting Articles 2005-04-11
Current GDevice Dependencies (HTML) (日本語 HTML)
QA1115: Describes potential problems with creating windows or ports when the current GDevice isn't the main device.
Porting Technical Q&As 2002-02-13
Customer-focused Software Design: Marratech Turns a Java App into a Mac App (HTML)
Learn how Marratech used the Apple Developer Connection to help port its Java-based application.
Porting Articles 2003-11-10
Detecting Classic and Carbon X Environments (HTML) (日本語 HTML)
OV03: Describes how to find out if your application is running in the Classic environment in Mac OS X.
Porting Technical Q&As 2000-10-16
Embedding Bonjour in Windows Applications (HTML)
TN2210: Details the proper steps necessary for a Windows Developer to include Bonjour for Windows in their application.
Porting Technical Notes 2008-01-17
The Gamma function in the Mac OS X 10.2 Math Library (HTML) (日本語 HTML)
QA1143: How various gamma functions are implemented in Mac OS X
Porting Technical Q&As 2002-08-27
GCC Porting Guide (HTML) (PDF)
Provides guidance on how to migrate projects to new GCC releases.
Porting Guides 2006-10-03
Going Universal: Audio Developers Catch the Wave (HTML)
Learn how audio developers who built universal binaries of their applications are reaping the benefits.
Porting Articles 2006-07-18
HID Calibrator (HTML) (DMG) (ZIP)
Human Interface Device Manager Calibrator sample
Porting Sample Code 2008-05-07
HID Config Save (HTML) (DMG) (ZIP)
Human Interface Device Manager Configuration sample
Porting Sample Code 2008-05-07
HID LED test tool (HTML) (DMG) (ZIP)
HID Manager sample project that shows how to set and clear keyboard LEDs.
Porting Sample Code 2008-07-25
HIView-NSView (HTML) (DMG) (ZIP)
Demonstrates how to embed an NSView within an HIView in a Carbon window.
Porting Sample Code 2007-05-29
Identifying Java on Mac OS X (HTML)
TN2110: Discovering installed versions of J2SE, Mac OS X from Java code.
Porting Technical Notes 2008-05-07
Jar Bundler User Guide (HTML) (PDF)
Conceptual information and a tutorial about deploying JAR-based applications as Mac OS X application bundles.
Porting Guides 2006-05-23
Java Development Guide for Mac OS X (HTML) (PDF)
Describes what you need to take into account when developing and deploying a Java application on Mac OS X.
Porting Guides 2008-10-15
Java on Intel-based Macs (HTML)
QA1295: Required changes (if any) for Java applications to run on Intel-based Macs.
Porting Technical Q&As 2006-10-17
LocalServer (HTML) (DMG) (ZIP)
Deprecated - Sample demonstrates how a Classic process can communicate with a Mac OS X process using IP networking protocols.
Porting Sample Code 2003-01-30
MoreIsBetter (HTML) (DMG) (ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
Porting Sample Code 2003-10-27
Moving Your Project from CodeWarrior to Xcode (HTML)
Get started moving your project from CodeWarrior to Xcode.
Porting Articles 2005-11-28
New Control Styles available within J2SE 5.0 on Mac OS X 10.5 (HTML)
TN2196: Details what new control styles are available within J2SE 5.0 on Mac OS X 10.5
Porting Technical Notes 2007-11-02
New HID Manager APIs for Mac OS X version 10.5 (HTML)
TN2187: Mac OS X version 10.5 introduces new APIs for the HID Manager.
Porting Technical Notes 2008-01-23
OTScheduleDeferredTask When Task Running (HTML) (日本語 HTML)
NW52: Describes what happens when you use OTScheduleDefferedTask to schedule a task that is running.
Porting Technical Q&As 1997-10-13
Packaging UNIX Software (HTML)
Explains how to post UNIX and other command-line tools to Apple's Macintosh Product Guide.
Porting Guides 2001-04-20
Porting CodeWarrior Projects to Xcode (HTML) (PDF)
Explains how to move software projects from CodeWarrior to Xcode and compares the two development environments.
Porting Guides 2006-10-26
Porting Command Line Unix Tools to Mac OS X (HTML) (日本語 HTML)
TN2071: A general guide for Unix developers porting software to Mac OS X.
Porting Technical Notes 2003-09-03
Porting Drivers to Mac OS X (HTML) (PDF)
Tips and code samples to help UNIX/Linux device driver developers bring their drivers to Mac OS X.
Porting Guides 2009-05-06
Porting Multithreaded Applications from Win32 to Mac OS X (HTML)
Learn how Mac OS X handles multithreading, before porting your Win32 application.
Porting Articles 2005-06-20
Porting to Mac OS X from Windows Win32 API (HTML) (PDF)
Describes how to port your Windows Win32 applications to Mac OS X.
Porting Guides 2009-05-06
Porting UNIX/Linux Applications to Mac OS X (HTML) (PDF)
Conceptual information and tips about porting UNIX and Linux applications to Mac OS X.
Porting Guides 2008-04-08
Problems recording CopyBits into a PICT on Mac OS X 10.2 (HTML) (日本語 HTML)
QA1189: Identifies a problem with CopyBits and PICT on Mac OS X 10.2 and gives a simple workaround.
Porting Technical Q&As 2002-11-19
QDFlushPortBuffer (HTML) (日本語 HTML)
QD65: Describes a possible solution for window update problems under Carbon.
Porting Technical Q&As 2000-11-08
QDSwapPort (HTML) (日本語 HTML)
QA1128: Explains when to use QDSwapPort.
Porting Technical Q&As 2002-11-06
QuartzShapes (HTML) (DMG) (ZIP)
Example Quartz functions that implement equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect
Porting Sample Code 2005-03-08
QuickDraw Text Anti-Aliasing using Quartz 2D (HTML) (日本語 HTML)
QA1193: Describes APIs added to Mac OS X to allow applications to draw QD text using CG anti-aliasing.
Porting Technical Q&As 2002-10-29
Scoping Your Transition Projects (HTML)
Learn how to transition to Intel-based Macs.
Porting Articles 2005-09-27
ScriptBuildPhases (HTML) (DMG) (ZIP)
Augmenting Project Builder build phases with scripts to do extra work or invoke other tools.
Porting Sample Code 2003-01-14
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.
Porting Sample Code 2005-06-06
Server Processes and the Dock (HTML) (日本語 HTML)
QA1328: Discusses using headless AWT from Java server applications that need to be hidden.
Porting Technical Q&As 2004-01-19
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Porting Technical Q&As 2001-10-25
simpleJavaLauncher (HTML) (DMG) (ZIP)
How to launch 1.4.x and future JVM's from a Core Foundation tool.
Porting Sample Code 2006-04-12
Static linking of user binaries on Mac OS X (HTML) (日本語 HTML)
QA1118: Explains why static linking of user binaries is not supported on Mac OS X, and possible workarounds.
Porting Technical Q&As 2002-02-07
Switching from Code Warrior to Xcode (HTML)
Learn how to import your projects from CodeWarrior.
Porting Articles 2003-10-24
Symbol Variants Release Notes (HTML)
Describes symbol variants, a way of providing multiple versions of symbols for backwards compatibility.
Porting Release Notes 2007-10-16
TCP/IP Option Sizes (HTML) (日本語 HTML)
NW62: Enumerates the TCP/IP options and their sizes for Open Transport.
Porting Technical Q&As 1999-04-26
Tiger Developer Overview Series: Developing 64-bit Applications (HTML)
Learn how Mac OS X Tiger breaks the limitations of 32-bit computing.
Porting Articles 2004-12-20
Uniquely Identifying a Macintosh Computer (HTML) (日本語 HTML)
TN1103: How to identify a specific Macintosh computer.
Porting Technical Notes 2006-04-25
UpdateXcodeSubprojects (HTML) (DMG) (ZIP)
Updates all subprojects of an Xcode project to Xcode 2.1 format. Illustrates scripting techniques.
Porting Sample Code 2005-06-06
Upgrading to the Mac OS X HIToolbox (HTML) (PDF)
A porting guide for Carbon developers seeking to adopt Mac OS X HIToolbox features such as nib-based windows and HIViews.
Porting Guides 2004-06-28
X11 FAQ (HTML) (日本語 HTML)
QA1232: Frequently Asked Questions about using Apple's X Window System (X11) implementation.
Porting Technical Q&As 2003-11-17
X11CallCarbonAndCocoa (HTML) (DMG) (ZIP)
Demonstrates a double clickable X11 application which performs various "native" Mac OS X operations.
Porting Sample Code 2003-07-28
Are the Name Registry device tree nodes unique? (HTML)
Deprecated - HW64: Discusses whether Name Registry nodes copied from the Open Firmware device tree are unique.
Printing Technical Q&As 1999-10-11
ATSUI and MLTE Printing (HTML) (日本語 HTML)
Deprecated - QD64: Describes a way to get MLTE and ATSUI text to print through the QuickDraw bottlenecks.
Printing Technical Q&As 2000-11-08
Bonjour Printer Subtype for HTTP (HTML)
QA1555: Describes how printer vendors can register their bonjour service such that Safari can see them.
Printing Technical Q&As 2008-03-25
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
CarbonQuartzDrawingWPrinting (HTML) (DMG) (ZIP)
Deprecated - Demonstrates mixing QuickDraw and Quartz 2D drawing both on screen and during printing.
Printing Sample Code 2003-01-14
CarbonSketch (HTML) (DMG) (ZIP)
Core Graphics only example of a Sketch application implemented with HIToolbox. Shows 1x1-CGBitmapContext for hit-testing, printing.
Printing Sample Code 2005-03-23
CGContext Bounds (HTML)
QA1048: Explains how to determine the bounds of a CGContext.
Printing Technical Q&As 2001-07-02
CGContextAddLineToPoint, CGContextAddCurveToPoint, et. al. (HTML)
QA1049: Explains why the CGContextAddXYZ APIs don't draw anything immediately.
Printing Technical Q&As 2001-07-02
CGContextClosePath (HTML)
QA1046: Explains when you should call CGContextClosePath.
Printing Technical Q&As 2001-10-02
Checking for the Printer Driver (HTML)
Deprecated - DV42: Describes a legacy Mac OS technique avoiding system hangs when using serial drivers on USB systems.
Printing Technical Q&As 2000-06-19
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
Combinations of cupsColorSpace, cupsColorOrder and cupsBitsPerColor values supported by Mac OS X (HTML)
QA1368: Table of supported combinations of cupsColorSpace, cupsColorOrder and cupsBitsPerColor values supported by Mac OS X.
Printing Technical Q&As 2005-08-10
Core Printing Reference (HTML) (PDF)
Describes the C API that provides an abstraction layer for application printing.
Printing Reference 2007-07-24
Creating Printing Presets for iPhoto (HTML) (PDF)
Rules for creating and installing printer-specific collections of settings. Includes a sample file.
Printing Guides 2005-07-07
Detecting low printer ink levels (HTML)
TN2144: How to detect printer supply levels using a low ink tool
Printing Technical Notes 2005-06-29
Drawing a Path Multiple Times (HTML)
QA1047: Explains that path drawing operations consume the path.
Printing Technical Q&As 2001-07-02
The Enhanced Print Apple Event (HTML)
TN2082: Describes an enhancement to the print Apple event that gives developers more control over scripted printing.
Printing Technical Notes 2003-12-09
Extending Printing Dialogs (HTML) (PDF)
A guide to developing printing dialog extensions, including basic concepts and a documented Carbon-based sample project.
Printing Guides 2006-10-03
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&As 2008-08-08
Generating a Non-Maskable Interrupt (NMI) (HTML) (日本語 HTML)
QA1264: Explains how to generate a non-maskable interrupt (NMI) on modern Macintosh systems.
Printing Technical Q&As 2008-10-13
Getting a Packet Trace (HTML) (日本語 HTML)
QA1176: Lists tools available for looking at the network packets on the wire.
Printing Technical Q&As 2008-06-03
How do I use PMSessionGetGraphicsContext to get a CGContextRef? (HTML) (日本語 HTML)
Deprecated - QA1216: Describes how to use PMSessionSetDocumentFormatGeneration and PMSessionGetGraphicsContext to get a CGContextRef for printing.
Printing Technical Q&As 2003-02-25
How to measure CG text (HTML)
QA1051: Explains how to measure Core Graphics text.
Printing Technical Q&As 2007-08-02
Mac OS X Printing System Overview (HTML) (PDF)
Introduces Apple's printing architecture. Includes a road map for developing software.
Printing Guides 2006-02-07
Mixing link-local IP addresses and routable IP addresses (HTML)
QA1357: Explains how to enable communication between devices with link-local addresses and devices with routable addresses.
Printing Technical Q&As 2005-07-06
New PPD keywords available in Mac OS X version 10.3 (HTML)
QA1352: Describes the new PPD keywords available for CUPS filters in Mac OS X 10.3.
Printing Technical Q&As 2004-05-26
NSBox Class Reference (HTML) (PDF)
Describes a view that can display its border and a title.
Printing Reference 2008-10-15
NSHost Class Reference (HTML) (PDF)
Describes a representation of a network host.
Printing Reference 2007-03-24
NSPageLayout Class Reference (HTML) (PDF)
Describes a printing dialog for querying the user about page layout.
Printing Reference 2007-04-11
NSPrinter Class Reference (HTML) (PDF)
Describes a representation of a printer as specified by a PPD file.
Printing Reference 2007-01-29
NSPrintInfo Class Reference (HTML) (PDF)
Describes the print settings used for a print job.
Printing Reference 2009-01-06
NSPrintOperation Class Reference (HTML) (PDF)
Describes a print job.
Printing Reference 2007-03-02
NSPrintPanel Class Reference (HTML) (PDF)
Describes a print dialog.
Printing Reference 2007-07-16
NSView Class Reference (HTML) (PDF)
Describes the interface for drawing, event handling, and printing in views.
Printing Reference 2009-02-04
Obtaining 16 Bits-Per-Color Data with CUPS Raster Printing (HTML)
TN2149: Obtaining 16 Bits-Per-Color Data with CUPS Raster Printing
Printing Technical Notes 2005-08-24
OutputBins2PDE (HTML) (DMG) (ZIP)
A Printer PDE demonstrating new features in 10.5
Printing Sample Code 2008-02-08