Carbon Programming/Getting started

Category:Stubs#Carbon%20Programming/Getting%20started

Requirements

To use Carbon, you will need to know the C programming language.

Installation and usage

The Carbon framework can be used when you create a new project within XCode 2.5. XCode will auto-create the details and files within the project, as well as provide a basic event handler.

If you are using the command-line compiler, or are otherwise creating the application manually, the framework needs to be specified manually:

gcc -framework Carbon

Files that need to access the Carbon library must have the following include statement within the file:

#include <Carbon/Carbon.h>
Category:Stubs