bjective-C has become the standard programming language for application development on the Mac OS X and iPhone platforms. A powerfulyet simpleobject-oriented programming language based on the C programming language, Objective-C is widely available not only on OS X but across many operating systems that support the gcc compiler
including Linux, Unix, and Windows systems.
Programming in Objective-C 2.0 offers a complete, step-by-step introduction to the Objective-C language. The book does not assume previous experience with either C or object-oriented programming languages, and it includes many detailed, practical examples of how to put Objective-C to use in your everyday programming needs.
The book also covers how to take advantage of the Foundation framework's rich built-in library of classes and how to use the iPhone SDK to develop programs specifically for the iPhone and iPod Touch.
Download Chapter 2 from Programming in Objective-C 2.0 to dive right in and write your first Objective-C program. You won't work with objects just yet, but you'll learn what's involved in keying in a program and compiling and running it.
Reproduced from Programming in Objective-C 2.0, 2nd Edition by permission of Addison-Wesley Professional. ISBN: 0321566157, copyright 2009. All rights reserved.