Objective-C

Presentation materials from Novembers iPhone presentation by John Franklin

Here is the bundle of stuff that was presented at the November meeting including the step by step PDF. See attached file.

Objective-C Basics

The first thing you need is to set up your build environment. For most of these examples, you can use any OS that supports GCC. If you're running on Mac OS X, install the development tools and you're done. For Ubuntu or Fedora, install the appropriate compiler packages and any dependencies. On Ubuntu, the build-essential package works well. For Fedora, install the Developer Tools grouplist and the gcc-objc package.

You'll also need the Foundation framework libraries and headers. Ubuntu keeps these in the libgnustep-base and libgnustep-base-dev packages. Fedora calls it gnustep-base-devel. Fedora also requires the gcc-objc package on top of the Developers Tools grouplist.

If you already know 'C', then you have a good basis for Objective-C. As the name implies, Objective-C is an extension of C, much like C++ is. Here is our first example source file example1.m:

On iPhone Development Demonstrations

I'm going to be presenting an iPhone programming demonstration at the November 2009 NoVaLUG meeting. Yes, I know that this is a Linux Users Group, and there's not much open source about the iPhone, but it does derive from some open source material: OpenStep, which lives on today as GNUStep. Now, gentle reader, I know what you're thinking. "If GNUStep is the current open source version of OpenStep, why don't you demo development with GNUStep?

novalug.com