
sign tell compiler that it’s not regular c but its Objective-C. Don’t miss that sign before “Hello, World!” string that is Objective-C way to use string (NSString Class). This line tells compiler to output “Hello, World!” string on console as this is the command line tool application so we have console to output and that all we have for now. A window pops up asking for creating new project or open existing like below oneĪs we can see the main method has first line code block which releases memory automatically for us and that we need in every project so that is essential and we will discuss about memory management when we switch to iPhone application because mobile device has limited memory and lots of applications are going to use it. In this Objective-C tutorial for beginners, We will use Xcode 4 to develop both command line program and iPhone application as we progress.

We will use Command line tool template to learn Objective-C Language and then we will switch to iPhone Full featured cocoa touch application. I highly recommend you to read my previous article iPhone SDK Components & Requirements if you haven’t read yet.

So we start with basic command line tool and then make our way to iPhone development. iPhone SDK: MVC in iPhone Application Developmentīefore we dive into the iPhone development, it is important that we first learn some basics of objective-c Language.iPhone SDK: Your First iPhone Application.

