SACC

/ / Navigation

Introduction
Frameworks
Object
Interface
Return Values
Method Arguments
Implementation
Program
Data Types

/ / INTRODUCTION




The iPhone is a small computer with a multi-touch screen, a microphone for audio input, and an accelerometer to measure g-forces that can be translated to tilt, if desired.

What do you need to program the iPhone?

SDK and Xcode, Interface Builder and Instruments.
Xcode is an Integrated Development Environment (IDE) that takes care of file management, compilation, debug- ging and error reporting. You’ll use Xcode to manage your project and to write, run, and debug your code. You’ll use Interface Builder to create your interface and to wire it to your code. Instruments will help you identify areas that are hurting your performance.


Objective-C

Objective-C is a language similar to ANSI C or C++ but with a much more robust set of instructions, classes, and shortcuts.

Objective-C extends the standard ANSI C language by providing syntax for defining classes, methods, and properties, as well as other constructs that promote dynamic extension of classes. The class syntax and design are based mostly on Smalltalk, one of the first object-oriented programming languages.

As with C code, you define header files and source files to separate public declarations from the implementation details of your code.