Learning how to code Mac

Discussion in 'Mac Programming' started by diogosgp, Jun 26, 2011.

  1. macrumors newbie

    Jun 26, 2011
    Hi guys,
    I'm reading Mac programming for absolute beginners O'Reilly. Some times it's a lit bit confused but I'm still reading.
    When I finish this book, I'd like a book that teach us how to code using the interface and examples from the real life.
    Do you know if there is any book like that?

  2. jiminaus, Jun 26, 2011
    Last edited: Jun 26, 2011

    macrumors 65816


    Dec 16, 2010
    Perhaps the 4th edition of Hillegass will be out once you're done with Mac programming for absolute beginners?


    BTW Hillegass has been busy. He's co-authored two other to-be-released books. Advanced Mac OSX Programming and More Cocoa Programming for Mac OS X. I look forward to reading them.

    Cocoa Recipes for Mac OS X (2e) is another recommendation. It pretty much develops a single app over the course of the book, showing incrementally how the functionality is built up.
  3. lfc
    macrumors regular

    Oct 20, 2010
    4th edition? Damn, I just finished the 3rd, it was really outdated but thankfully only a small amount was unusable. If your going to get that (which I strongly recommend), definitely wait for the 4th edition.

    In the mean time, this book (http://www.amazon.com/gp/product/1934356514) is excellent and even better for beginners. It uses real world type examples, just like the approach Hillegass took. I would read this first and then Hillegass'.
  4. thread starter macrumors newbie

    Jun 26, 2011

    Thank you guys very much.
    So you recommend that I finish the book I'm reading first.
    Some times I get confused because O'Reilly teaches a lot of code but how on earth I'll memorize them. In my opinion it'd be easier if he gave more real world examples.
  5. macrumors 65816


    Dec 16, 2010
    Your goal shouldn't be to memorizing chunks of code. Your goal should be to really understand the concepts behind the code. The code is there to demonstrate and reinforce the concepts.

    Another goal you should have is to develop your research skills. If you know how to find information, than you don't need to memorize it. No-one has the whole of the Cocoa libraries in their head. The difference between an efficient and inefficient programmer is, in part, their ability to effectively find answers to their questions and solutions to their problems.

    Programming is an art. It is creative. Your will never have or be able to find chunks of code that will solve all your problems.
  6. thread starter macrumors newbie

    Jun 26, 2011
    Yeah I know. It's impossible to memorize all the codes. But that's why I want a book showing real examples. It'll be easier to learn.
    Thanks guys
  7. Moderator


    Staff Member

    Aug 16, 2005
    New England
    Even the "real examples" may not resonate with what you want to do.

    A good exercise for any programming book you read is to try and write some toy code of your own to use the principles that were taught.

    e.g. if loops were taught adapt the sample code and concepts to some loop from your world.

  8. thread starter macrumors newbie

    Jun 26, 2011
    Yeah, that's what I'm doing.
    What I reckon that's difficult is to find information on the documentation library. But it's probably because I'm a beginner.
  9. macrumors 6502a


    Mar 2, 2009
    I used this book also. Very good starters book.
  10. thread starter macrumors newbie

    Jun 26, 2011
    It is very good. I've just finish the dictionary and sets chapter. Very interesting.
    I'll start reading the next one which containnts the explanation on how to create classes.:apple:
  11. macrumors regular


    Aug 23, 2009
    Xcode 4 for a beginner?

    Following along with this thread, now that Xcode 4 is out, are there any good books out there that utilize this for absolute beginners? I've never personally programmed before, but would like to get started. I have Xcode 4 on my Mac at the moment. Is it recommended for a noob to get rolling on Xcode 3, since most books at the moment deal with that? I guess my thought is that if 4 is out now, that it would make more sense to get going with that? I see Kochan's book integrates Xcode 4 now.
  12. macrumors 6502

    Jun 24, 2009
    Ontario, Canada
    Although I haven't gotten it yet, I'd suggest Kochan's book. I've heard many good things about it.

Share This Page