PDA

View Full Version : Learning how to code Mac




diogosgp
Jun 26, 2011, 10:15 PM
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?

Cheers,
Diogo



jiminaus
Jun 26, 2011, 10:48 PM
Perhaps the 4th edition of Hillegass will be out once you're done with Mac programming for absolute beginners?

http://www.amazon.com/Cocoa-Programming-Mac-OS-4th/dp/0321774086

BTW Hillegass has been busy. He's co-authored two other to-be-released books. Advanced Mac OSX Programming (http://www.amazon.com/Advanced-Mac-OSX-Programming-Guides/dp/0321706250) and More Cocoa Programming for Mac OS X (http://www.amazon.com/More-Cocoa-Programming-Mac-OS/dp/0321706269). I look forward to reading them.

Cocoa Recipes for Mac OS X (2e) (http://www.amazon.com/gp/product/0321670418) is another recommendation. It pretty much develops a single app over the course of the book, showing incrementally how the functionality is built up.

lfc
Jun 26, 2011, 10:56 PM
Perhaps the 4th edition of Hillegass will be out once you're done with Mac programming for absolute beginners?

http://www.amazon.com/Cocoa-Programming-Mac-OS-4th/dp/0321774086

BTW Hillegass has been busy. He's co-authored two other to-be-released books. Advanced Mac OSX Programming (http://www.amazon.com/Advanced-Mac-OSX-Programming-Guides/dp/0321706250) and More Cocoa Programming for Mac OS X (http://www.amazon.com/More-Cocoa-Programming-Mac-OS/dp/0321706269). I look forward to reading them.

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'.

diogosgp
Jun 26, 2011, 11:33 PM
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'.

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.
Cheers

jiminaus
Jun 27, 2011, 12:16 AM
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.
Cheers

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.

diogosgp
Jun 27, 2011, 12:35 AM
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.
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

balamw
Jun 27, 2011, 04:58 PM
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

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.

B

diogosgp
Jun 27, 2011, 08:16 PM
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.

B

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.
Cheers

cerote
Jun 27, 2011, 10:44 PM
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'.

I used this book also. Very good starters book.

diogosgp
Jun 27, 2011, 11:21 PM
I used this book also. Very good starters book.

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:

phantom5251
Jul 1, 2011, 10:17 AM
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.

Mitchelino
Jul 1, 2011, 12:30 PM
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.

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