Objective C book for experienced programmers

Discussion in 'Mac Programming' started by redneon, Jul 7, 2010.

  1. redneon macrumors member

    Joined:
    Apr 27, 2006
    #1
    Is there a good Objective C book for experienced programmers? I'm a C++ programmer who works in the games industry so ideally a C++ slant would be beneficial.

    I did get "Programming in Objective C - 2nd Edition" but it starts out so basic I'm finding it patronising and difficult to read.
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    From a pure Objective-C language point of view an experienced programmer can probably learn very effectively from the free PDF on the Apple website.

    Note that the language and the frameworks used to build applications are separate (unlike say Java). Once you understand the language you have the arguably bigger task of learning Cocoa or Cocoa Touch.
     
  3. GorillaPaws macrumors 6502a

    GorillaPaws

    Joined:
    Oct 26, 2003
    Location:
    Richmond, VA
    #3
    I would read the linked .pdf, and then skip to the 2nd half of the Kochan book. It deals with the foundation framework.
     
  4. redneon thread starter macrumors member

    Joined:
    Apr 27, 2006
    #4
    Cheers for the info. I'll check out that .pdf first.

    Also, while I think on, are there any good tutorials/books/articles on using XCode? Most things seem pretty self-explanatory and I haven't had any troubles with it but I'd like to get more familiar with it if I'm going to be using it more :)
     
  5. Sander macrumors 6502

    Joined:
    Apr 24, 2008
    #5
    Also check out the document by
    Pierre Chatelier which offers an introduction to Objective-C for people versed in C++.
     
  6. MorphingDragon macrumors 603

    MorphingDragon

    Joined:
    Mar 27, 2009
    Location:
    The World Inbetween
    #6
    If you want a book, this had some useful tips. But Apple's documentation is more than sufficient.

    http://www.amazon.com/Xcode-3-Unlea...=sr_1_2?ie=UTF8&s=books&qid=1278582661&sr=8-2
     
  7. derbes macrumors newbie

    Joined:
    May 23, 2003
    Location:
    Chicago
    #7
    Possible help with XCode/Objective C

    O'Reilly has a fairly recent book out by Scott Stevenson, "Cocoa and Objective C Up and Running". I got an electronic version cheap ($10) during a sudden O'Reilly sale and am working though it slowly. Though a neophyte can pick it up, it seems to be geared toward people who have at least some knowledge of programming (doesn't matter what language; he teaches the rudiments of C as he goes.)

    Generally the "animal cover" books by O'Reilly are quite good. So far this seems like a good purchase. Check Amazon for the most recent reviews.
     
  8. bilboa macrumors regular

    Joined:
    Jan 16, 2008
    #8
    I'm not sure why you say "unlike Java". The Java language and Java libraries are two separate things, just like with Obj-C. The only exceptions to that are a handful (literally) of classes and interfaces with special language support. Those classes are:

    Object
    String
    StringBuilder
    Throwable
    Iterable
    Array

    Obj-C also has similar builtin language support for NSString (@"" syntax), NSFastEnumeration (for (item in collection) {} syntax), and NSObject (@synchronized). So the situation is pretty similar for both languages; both languages have some builtin integration with a few library classes, but for the most part the library is independent of the language.

    A better example of a language with no builtin integration with its standard library is C++. Though even C++ has one exception to that rule, the typeid operator, which returns an object of type std::type_info.

    I totally agree with the main point of your post though, that learning the libraries is a lot more work than learning the language itself.
     
  9. seepel macrumors 6502

    seepel

    Joined:
    Dec 22, 2009
    #9
    I was in a similar position, I found it most useful to look at some examples on the web that did something similar to what I wanted to do, then at least I knew the approximate place in the documentation to look for more information. (Apple by the way probably has the best documentation Ive ever seen...)
     

Share This Page