Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dangribbin

macrumors newbie
Original poster
Nov 17, 2009
5
0
Hey, I'm a new programming enthusiast, just hobbling along on self-instruction. I just bought Programming in Objective-C 2.0 by Steven Kochan, and downloaded Xcode 3 from the ADC. However, I soon noticed in the first example in the book that my interface and the one in the book are different. The templates are different in my Xcode from the one in the book. Is this because the book was released prior to Xcode 3? I'm not sure if I should return the book and look for a different one, or try to get a previous version of Xcode to use with the book's examples. Suggestions? Thanks!!
 
Hey, I'm a new programming enthusiast, just hobbling along on self-instruction. I just bought Programming in Objective-C 2.0 by Steven Kochan, and downloaded Xcode 3 from the ADC. However, I soon noticed in the first example in the book that my interface and the one in the book are different. The templates are different in my Xcode from the one in the book. Is this because the book was released prior to Xcode 3? I'm not sure if I should return the book and look for a different one, or try to get a previous version of Xcode to use with the book's examples. Suggestions? Thanks!!

Just get used to it. The differences are minor. The book is written for Xcode 3 and you are probably using Xcode 3.2.
 
I agree with Cromulent. Flexibility is important, and as long as the book is not just an XCode tutorial, you should be fine.

-Lee
 
I'm a bit perplexed at the "New Project" dialog. My MBP shows a different interface than my MP despite both using build 1613. I guess it's because on one I stalled XCode from the Mac SDK then installed the iPhone SDK over the top, whereas on the other machine I installed XCode using iPhone SDK.

Anyway, the interface differences are minor. In the book you purchased, you'll be using mostly Command Line Tools based on Foundation. So depending on how your dialog looks it will either be Command Line Utilities -> Foundation Tool or in the other interface choose Application -> Command Line Tool -> Type=Foundation.

I think it's an excellent book. It provides a good introduction to Obj-C and the underlying C language features, but more importantly it does a good job with the Foundation framework without the complications associated with a user interface. When you're ready for that, I recommend Aaron Hillegass' book.

crackpip
 
If you go to the forum for the book (classroomM.com/objective-C) you'll find a posting related to the minor Xcode discrepancies posted there (in fact it's noted in Red at the top of the Forum under "News"). You'll also find some other useful stuff there that will help you through the book! :D

Cheers,

Steve Kochan
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.