Jump To:
Leopard Reference Library
A full suite of free developer tools is available to Mac OS X developers, who can speed up their development process by using these tools to prototype, compile, debug, and optimize their software products. Xcode, Apple's integrated development environment, can be used with Cocoa, Carbon, or Java. Apple also provides a wide selection of open source tools, such as GCC.

A guided introduction for developers new to Mac OS X developer tools.   Essential information for developers using the Xcode software development tool set.  
Document Descriptions
On Off
Display

Sort by
Title
Sort by
Topic
Sorted by
Resource Type
Sort by
Date
Quartz Composer WWDC 2005 Composition (HTML) (DMG) (ZIP)
Shows how to build a parameterized motion graphics composition with Quartz Composer.
Graphics & Imaging Sample Code 2005-06-01
ScriptView (HTML) (DMG) (ZIP)
Shows how to build a script editor application with a built-in script database using AppleScript Studio.
Scripting & Automation Sample Code 2005-06-01
SimplePing (HTML) (DMG) (ZIP)
Sample provides simple API to programatically ping a remote host without admin privileges
Darwin Sample Code 2003-10-27
Sproing (HTML) (DMG) (ZIP)
Shows how "springs" work to control view resizing behavior.
Interface Builder Sample Code 2003-05-20
PIDFromBSDProcessName (HTML) (DMG) (ZIP)
Provides a simple API to do process PID lookup based on BSD process name.
Darwin Sample Code 2003-02-13
JDragNDrop (HTML) (DMG) (ZIP)
Deprecated - Demonstrates building a simple view to implement Drag-and-Drop functionality in Cocoa-Java.
Java Sample Code 2003-01-14
MoreAppleEvents (HTML) (DMG) (ZIP)
Provides routines that assist with the creation and sending of Apple events and object descriptors.
Scripting & Automation Sample Code 2003-01-14
ODOC (HTML) (DMG) (ZIP)
Illustrates how to send an open document ('odoc') Apple event to another application process.
Scripting & Automation Sample Code 2003-01-14
ScriptBuildPhases (HTML) (DMG) (ZIP)
Augmenting Project Builder build phases with scripts to do extra work or invoke other tools.
Xcode Sample Code 2003-01-14
Kernel Core Dumps (HTML)
TN2118: Explains how to gather and use remote kernel core dumps.
Compiling & Debugging, Darwin Technical Notes 2008-11-12
Debugging An Authorization Plug-In With Xcode (HTML)
TN2108: A tutorial on how to use Xcode to debug an authorization plug-in.
Compiling & Debugging, Xcode Technical Notes 2008-09-08
CrashReporter (HTML)
TN2123: Describes CrashReporter and how to debug with crash logs.
Compiling & Debugging Technical Notes 2008-04-01
Preprocessing Info.plist files in Xcode Using the C Preprocessor (HTML)
TN2175: Describes workarounds for several issues concerning preprocessing Info.plist files in Xcode with the C preprocessor.
Xcode Technical Notes 2007-08-14
Speeding up your Xcode Builds (HTML)
TN2190: Speed up your Xcode builds by leveraging the power of the Xcode build system
Xcode Technical Notes 2007-08-14
C++ Tips and Tricks for Mac OS X (HTML)
TN2185: Tips and tricks for beginning to advanced C++ programmers on Mac OS X.
Compiling & Debugging, Xcode Technical Notes 2007-05-25
Mac OS X Debugging Magic (HTML)
TN2124: Collection of Mac OS X debugging hints and tips.
Compiling & Debugging Technical Notes 2007-01-10
JNI Development on Mac OS X (HTML)
TN2147: Discusses use of native APIs and UI elements from Java applications
Java Technical Notes 2006-04-17
Nested Functions in Xcode (HTML)
TN2161: This technote explains how to port code which uses nested functions in Xcode 2.2.
Compiling & Debugging, Xcode Technical Notes 2006-01-10
Ensuring Backwards Binary Compatibility - Weak Linking and Availability Macros on Mac OS X (HTML) (日本語 HTML)
TN2064: Ensuring that Mach-O applications built using today's Mac OS X runs on previous versions of the OS.
Performance Technical Notes 2003-02-18
Getting Started with GDB (HTML) (日本語 HTML)
TN2032: Explains common C, C++ and Objective-C debugging tasks using gdb, plus helpful tips and tricks.
Compiling & Debugging Technical Notes 2001-12-07
GDB for MacsBug Veterans (HTML)
TN2030: Translate your experience with MacsBug into a working knowledge of the GNU source-level debugger (GDB).
Compiling & Debugging, Performance Technical Notes 2001-10-18
Mac OS X v10.1 (HTML)
TN2029: Updated list of APIs for Mac OS X 10.1.
Files & Software Installation Technical Notes 2001-10-15
Mac OS X: versions 10.0.1 through 10.0.4 (HTML) (日本語 HTML)
TN2025: List of API differences betweem 10.0.1 trough 10.0.4
Xcode Technical Notes 2001-07-26
Tips for searching Headers, APIs and ADC reference material. (HTML)
QA1475: Presents a number of different ways to search for APIs and reference material on the system.
Xcode Technical Q&As 2009-02-13
Xcode 3 Project Compatiblity (HTML)
QA1572: Describes the minimum requirements for opening Project Builder or older Xcode projects in Xcode 3.
Xcode Technical Q&As 2008-11-12
Generating a Non-Maskable Interrupt (NMI) (HTML) (日本語 HTML)
QA1264: Explains how to generate a non-maskable interrupt (NMI) on modern Macintosh systems.
Compiling & Debugging Technical Q&As 2008-10-13
Programmatically causing restart, shutdown and/or logout (HTML) (日本語 HTML)
QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.
Scripting & Automation Technical Q&As 2008-09-24
Disabling Processor Cores on a Multi-Core System (HTML) (日本語 HTML)
QA1141: Describes how to disable processor cores on a multi-core system for testing purposes.
Compiling & Debugging, Performance Technical Q&As 2008-09-16
How to work around HIMovieViewCreate failing (HTML)
QA1417: Describes how to work around HIMovieViewCreate failing to initialize the view in QuickTime 7
Interface Builder Technical Q&As 2008-03-11
Missing Results in Xcode Project Find Window (HTML)
QA1580: A workaround for when a search that previously returned results generates no files found in Xcode
Xcode Technical Q&As 2008-03-06
Connecting the Font Menu in Interface Builder 3 (HTML)
QA1571: How to connect and configure the Font/Format menus in Interface Builder 3.
Interface Builder Technical Q&As 2008-01-21
Debugging Process Startup (HTML)
QA1573: Describes techniques for debugging a process's startup code.
Compiling & Debugging Technical Q&As 2007-12-21
How can I get both Subversion (SVN) and CVS on Mac OS X 10.5 (Leopard)? (HTML)
QA1492: Explains where to find Subversion and CVS for installation.
Source Control, Xcode Technical Q&As 2007-11-15
Debugging a WebKit Plug-in in Xcode (HTML)
QA1500: Directions for debugging a WebKit plug-in in Xcode.
Compiling & Debugging Technical Q&As 2007-06-05
Including a custom NSWindow in a nib file (HTML)
QA1511: Shows how to create a custom NSWindow and instantiate it in a nib file.
Interface Builder Technical Q&As 2007-03-21
Using GCOV from Xcode (HTML)
QA1514: Illustrates configuring your Xcode project to work with the GCOV code coverage tool.
Compiling & Debugging, Xcode Technical Q&As 2007-02-23
How do I access files contained in my AppleScript Studio application's main bundle? (HTML)
QA1493: Explains how to access files stored within an AppleScript Studio application.
Scripting & Automation, Xcode Technical Q&As 2007-02-05
Creating install packages from the command line (HTML)
QA1284: Describes how to create install packages from the command line.
Files & Software Installation Technical Q&As 2007-01-22
Debugging NSTableView's "Action Invocation" binding (HTML)
QA1472: Discusses the issues and factors that affect NSTableView's "Action Invocation" binding.
Interface Builder Technical Q&As 2006-11-13
How to add a folder to the contents of a package (HTML)
QA1484: Describes how to add a folder of files to the package contents of executable code
Xcode Technical Q&As 2006-10-31
Using static versions of existing dynamic libraries (HTML)
QA1393: Illustrates how to select a static version of a library when a dynamic version of the library exists.
Compiling & Debugging, Xcode Technical Q&As 2006-10-24
Java on Intel-based Macs (HTML)
QA1295: Required changes (if any) for Java applications to run on Intel-based Macs.
Java Technical Q&As 2006-10-17
Interface element identification in Interface Builder (HTML)
QA1323: Describes a way to easily visually identify interface elements in a nib file.
Interface Builder Technical Q&As 2006-10-06
Building Objective-C static libraries with categories (HTML)
QA1490: Describes how to properly build Objective-C static libraries that contain categories on existing classes.
Compiling & Debugging Technical Q&As 2006-10-03
How do I use asserts while debugging? (HTML)
QA1431: How do I enable asserts so they log their messages and/or break when I'm debugging?
Compiling & Debugging, Xcode Technical Q&As 2006-06-30
UnsupportedClassVersionError With J2SE 5.0 Release 4 (HTML)
QA1474: Explains problems running existing Xcode projects after upgrading to J2SE 5.0 Release 4
Java Technical Q&As 2006-04-14
Common QA and Roadmap for USB Software Development on Mac OS X (HTML)
QA1370: Roadmap for development of USB Software on Mac OS X and some Common Questions and Answers
Performance Technical Q&As 2006-02-28
Deprecated CALL_ON_[UN]LOAD pragmas (HTML)
QA1429: Replace deprecated CALL_ON_[UN]LOAD pragmas with constructor [destructor] function attributes.
Compiling & Debugging, Xcode Technical Q&As 2006-01-10
Setting default open Finder window (HTML)
QA1449: How to set the default Finder window to open when a disk is mounted
Files & Software Installation Technical Q&As 2006-01-03
What are the predefined macros for GCC? (HTML)
QA1424: Shows how to display a list of GCC predefined macros.
Compiling & Debugging Technical Q&As 2005-07-06
What is the Timebase submenu available in the contextual menu of some patches in Quartz Composer? (HTML)
QA1427: Describes the timebase system used by patches in Quartz Composer.
Graphics & Imaging Technical Q&As 2005-06-15
Why is libstdc++.a missing in my Xcode project on Mac OS X v10.4 (Tiger)? (HTML)
QA1428: Explains the role of libstdc++ and why you do not need it in a Xcode project.
Xcode Technical Q&As 2005-04-29
Help Book Caching During Software Development (HTML)
QA1409: Development situations that can potentially confuse Help Viewer
Files & Software Installation, Java Technical Q&As 2005-03-30
CFBundleIdentifier and user application access (HTML)
QA1373: Describes the role of CFBundleIdentifier in limiting a user's application access.
Xcode Technical Q&As 2005-02-08
Symbol to Library in GDB (HTML)
QA1388: Shows how to find the library containing a symbol in GDB.
Compiling & Debugging Technical Q&As 2004-11-15
Detecting the Debugger (HTML)
QA1361: Shows how to determine whether you're being run under the debugger.
Compiling & Debugging Technical Q&As 2004-10-27
Using the latest Mac OS X headers in my CFM project with CodeWarrior (HTML)
QA1379: Describes how to use the latest Mac OS X headers in CodeWarrior by modifying the CFM project access paths.
Compiling & Debugging Technical Q&As 2004-10-08
Developing with ZeroLink: small applications and launching on other computers (HTML)
QA1322: Resolving issues caused by the ZeroLink feature in Xcode.
Xcode Technical Q&As 2003-10-31
How to solve '_objc_exception_set_functions' ZeroLink errors in Xcode (HTML)
QA1321: Explains how to eliminate '_objc_exception_set_functions' ZeroLink errors in Xcode
Xcode Technical Q&As 2003-10-29
QuickTime 6.4 & AvailabilityMacros.h on Mac OS X 10.2.x (HTML)
QA1316: Fixing compilation issues when upgrading to QuickTime 6.4 on Mac OS X 10.2.x systems.
Xcode Technical Q&As 2003-10-21
Debugging arbitrary applications with Xcode (HTML)
QA1305: Debugging an application with Xcode without requiring the project that built the application.
Xcode Technical Q&As 2003-09-15
Spaces in project names: solving "Missing file or directory" errors in Project Builder (HTML)
QA1301: Explains "Missing file or directory" errors when building with Project Builder.
Xcode Technical Q&As 2003-09-15
Remote or Two-Machine Debugging Applications with GDB (HTML)
QA1279: Explains how to setup a remote or two-machine debugging configuration using gdb and ssh.
Compiling & Debugging Technical Q&As 2003-09-09
Correcting a PackageMaker version.plist and BundleVersions.plist problem (HTML) (日本語 HTML)
QA1281: Describes how to correct a PackageMaker version.plist and BundleVersions.plist problem.
Files & Software Installation Technical Q&As 2003-08-25
Getting owner and group name references for PackageMaker package contents (HTML) (日本語 HTML)
QA1285: Describes how to get owner and group name references for PackageMaker package contents.
Files & Software Installation Technical Q&As 2003-08-25
PackageMaker's NeedsAuthorization value causes install to fail (HTML) (日本語 HTML)
QA1283: Provides a workaround when PackageMaker's NeedsAuthorization value causes a Mac OS X 10.1 installation failure.
Files & Software Installation Technical Q&As 2003-08-25
Can't attach during two-machine debugging with GDB (HTML) (日本語 HTML)
Deprecated - QA1019: Describes a workaround for a problem attaching during two-machine debugging on Mac OS X 10.0.x.
Compiling & Debugging Technical Q&As 2003-06-02
'dynamic shared library not made a weak library in output with MACOSX_DEPLOYMENT_TARGET...' bug (HTML) (日本語 HTML)
QA1233: Why 'ld' may give a warning about the Mac OS X_DEPLOYMENT_TARGET environment variable and its failure to weak link.
Compiling & Debugging, Xcode Technical Q&As 2003-04-01
Project Builder 2.1 needs projects to be checked into CVS to enable CVS support (HTML) (日本語 HTML)
QA1245: Explains how to workaround a bug in Project Builder that blocks CVS functionality.
Source Control, Xcode Technical Q&As 2003-03-20
Documentation updater for Project Builder shipping with Mac OS X 10.2 (HTML) (日本語 HTML)
QA1207: Updating Project Builder to find new symbols, including the Bluetooth framework under Mac OS X.
Xcode Technical Q&As 2002-10-25
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.
Compiling & Debugging, Darwin Technical Q&As 2002-02-07
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Compiling & Debugging, Darwin, Scripting & Automation, Source Control Technical Q&As 2001-10-25
Working with groups and folder references in Project Builder (HTML)
QA1077: Explains how to work with groups and folder references in Project Builder
Xcode Technical Q&As 2001-09-25
Automatically starting and stopping application instances without using Monitor (HTML)
QA1064: Describes how to use WebObjects' monitor utility to stop and start application instances.
WebObjects Technical Q&As 2001-07-25
FrontBase and JDBC (HTML)
QA1041: Describes an alternative to using the JDBC adaptor with FrontBase for WebObjects 5.0.
WebObjects Technical Q&As 2001-07-09
Importing Projects from WO 4.5.x into WO 5.0 (HTML)
QA1035: Describes how to import WebObjects 4.5.x projects into WebObjects 5.0.
WebObjects Technical Q&As 2001-07-09
Using Pascal strings in Project Builder (HTML)
QA1053: Shows how to force gcc (compiler used by Project Builder) to understand Pascal strings.
Compiling & Debugging, Xcode Technical Q&As 2001-06-28
WebObjects applications crashing on NT using IIS (HTML)
WOV01: Explanation and workaround for random crashing with WebObjects patch 2 on Windows NT with IIS.
WebObjects Technical Q&As 2000-10-30
Changing the TCP Window Size (HTML)
NW47: Describes how to change the TCP window size in Open Transport.
Performance Technical Q&As 1997-03-14
Stub Library FAQ (HTML)
PLAT28: Explains stub libraries and their use, and differences between shared libraries and stub libraries.
Compiling & Debugging Technical Q&As 1997-03-14
Using qd and QDGlobals (HTML) (日本語 HTML)
Deprecated - QD40: Why a sample program compiled with SC may give the link error: undefined entry qd. Provides a solution.
Compiling & Debugging Technical Q&As 1996-02-09