Question regarding Programming in Objective-C 2.0 by Kochan and Xcode

Discussion in 'Mac Programming' started by dangribbin, Dec 27, 2009.

  1. dangribbin macrumors newbie

    Joined:
    Nov 17, 2009
    #1
    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!!
     
  2. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    Just get used to it. The differences are minor. The book is written for Xcode 3 and you are probably using Xcode 3.2.
     
  3. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #3
    I agree with Cromulent. Flexibility is important, and as long as the book is not just an XCode tutorial, you should be fine.

    -Lee
     
  4. crackpip macrumors regular

    Joined:
    Jul 23, 2002
    #4
    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
     
  5. skochan macrumors regular

    Joined:
    Apr 1, 2006
    Location:
    California
    #5
    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
     

Share This Page