View Full Version : Xcode template list differs from books

Sep 28, 2010, 06:35 PM

I've just decided to learn how to make apps for the kids ipad, got all obsessive and ran out and bought a new 13" Mac Book Pro and installed the iOS 4.1 SDK which I downloaded from apple. I accepted all the default install settings, the only thing I didn't install was 10.4 support which was optional.

I also bought a couple of books to learn about objective-c but when I create a new xcode project the book differs from the list of templates that you can create.

xcode has templates listed under Mac OS X as
Framework & Library
Application Plug-in
System Plug-in

The book has a list like this...

Audio Units
Automator Action
Command Line Utility
Dynamic Library
Kernel Extension
Standard Apple Plug-in
Static Library

Just to start off the first chapter to return "hello world" the book says to select "Command Line Utility" which isn't available in my install. So where did I go wrong? Can someone please help me to get started???

Thanks in advance.


Sep 28, 2010, 06:57 PM
That's just the beginning. Xcode is constantly updated and the book isn't.

Sep 28, 2010, 07:11 PM
Identify the specific books: title, author, edition number or publication date.

You should also check the Foreword or Introduction of each book to determine exactly which version of Xcode it uses. There are major differences between Xcode 2.x, 3.x, and 4.x. You need to buy books that match the version of Xcode you're using.

By the way, Command Line Tool should be under the Application category. The list on the left (Application, Framework & Library, etc.) identifies a category of related templates. Explore.

Sep 28, 2010, 09:54 PM
I was using Programming in objective C 2.0 by Stephen Kochan. It was a second handbook that I bought online so must be using a older version of Xcode. I've ordered Objective-C for dummies which is based on Xcode 3.2 so between the two I'm sure I will find my way about. Are there any other must have books that I should consider buying?

I had a play about with xcode before posting up the question, but just wanted to confirm that I didn't install it wrong. Seems it's all good. I'm really loving my mac and can't wait to start learning about programming.

Thanks for your help.