iOS Module Development Guide
Titanium provides the ability to extend the built-in functionality through a series of optional extensions, called Titanium+Plus Modules. We’ll reference them as Modules in this guide as a short abbreviation.
This document is part of the Titanium Module Developer’s Guide series, covering the Steps 0 through 3 of iOS Module development.
- Step 0 covers your existing computer environment, specifying how to set up your environment for development of iOS based Modules.
- In Step 1, you’ll use Objective-C to create your first module
- In Step 2, you’ll learn about the basic architecture of modules
- In Step 3, you’ll learn how to use your module and distribute it to others
iOS Module Prerequisites
To develop an iOS-based Module, you’ll need all of the following basic prerequisites:
- Intel-based Macintosh running OSX 10.5 or above
- XCode 3.2 or above
- iOS 4.0 SDK or above
- Titanium 1.4 Mobile SDK or aboveiOS Modules support both iPhone and iPad based extensions. In addition to the following environment prerequisites, you must have a general knowledge of Objective-C development.
Step 0: Setting Up your Module Environment
To set up your Module environment on OSX, you’ll need to place a helper script on your path or set up an environment alias to the file. In this document, we recommend you create an alias.
You’ll need to determine where your Titanium 1.4.0 SDK (or more recent version) is installed. It may be installed in /Library/Application\ Support/Titanium, or it may be in
/Library/Application\ Support/Titanium. The steps below assume that it is below /Library. If it is below