Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 26, 2011, 10:15 PM   #1
diogosgp
macrumors newbie
 
Join Date: Jun 2011
Learning how to code Mac

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
diogosgp is offline   0 Reply With Quote
Old Jun 26, 2011, 10:48 PM   #2
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: Sydney
Perhaps the 4th edition of Hillegass will be out once you're done with Mac programming for absolute beginners?

http://www.amazon.com/Cocoa-Programm.../dp/0321774086

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.

Last edited by jiminaus; Jun 26, 2011 at 10:54 PM.
jiminaus is offline   0 Reply With Quote
Old Jun 26, 2011, 10:56 PM   #3
lfc
macrumors regular
 
Join Date: Oct 2010
Location: Australia
Quote:
Originally Posted by jiminaus View Post
Perhaps the 4th edition of Hillegass will be out once you're done with Mac programming for absolute beginners?

http://www.amazon.com/Cocoa-Programm.../dp/0321774086

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.
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'.
lfc is offline   0 Reply With Quote
Old Jun 26, 2011, 11:33 PM   #4
diogosgp
Thread Starter
macrumors newbie
 
Join Date: Jun 2011
Cheers

Quote:
Originally Posted by lfc View Post
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
diogosgp is offline   0 Reply With Quote
Old Jun 27, 2011, 12:16 AM   #5
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: Sydney
Quote:
Originally Posted by diogosgp View Post
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.
jiminaus is offline   1 Reply With Quote
Old Jun 27, 2011, 12:35 AM   #6
diogosgp
Thread Starter
macrumors newbie
 
Join Date: Jun 2011
Quote:
Originally Posted by jiminaus View Post
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
diogosgp is offline   0 Reply With Quote
Old Jun 27, 2011, 04:58 PM   #7
balamw
Moderator
 
balamw's Avatar
 
Join Date: Aug 2005
Location: New England, USA
Quote:
Originally Posted by diogosgp View Post
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
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme
balamw is offline   0 Reply With Quote
Old Jun 27, 2011, 08:16 PM   #8
diogosgp
Thread Starter
macrumors newbie
 
Join Date: Jun 2011
Quote:
Originally Posted by balamw View Post
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
diogosgp is offline   0 Reply With Quote
Old Jun 27, 2011, 10:44 PM   #9
cerote
macrumors 6502a
 
Join Date: Mar 2009
Quote:
Originally Posted by lfc View Post
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.
cerote is offline   0 Reply With Quote
Old Jun 27, 2011, 11:21 PM   #10
diogosgp
Thread Starter
macrumors newbie
 
Join Date: Jun 2011
Quote:
Originally Posted by cerote View Post
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.
diogosgp is offline   0 Reply With Quote
Old Jul 1, 2011, 10:17 AM   #11
phantom5251
macrumors regular
 
Join Date: Aug 2009
Location: Ohio
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.
phantom5251 is offline   0 Reply With Quote
Old Jul 1, 2011, 12:30 PM   #12
Mitchelino
macrumors 6502
 
Join Date: Jun 2009
Location: Ontario, Canada
Quote:
Originally Posted by phantom5251 View Post
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.
__________________
15" MBP 4,1 ; iPad 2 ; iPod touch (4G)
Mitchelino is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Learning to Code: Where to Start? ToomeyND Mac Programming 11 Mar 5, 2014 01:27 PM
learning x-code .. need advice ! rashidyn iPhone/iPad Programming 39 Apr 24, 2013 02:37 PM
App of learning counting in Multi-language (including Promo code) Magdalen iPhone and iPod touch Apps 0 Nov 13, 2012 03:51 AM
Learning to code... SR71 iPhone/iPad Programming 9 Oct 11, 2012 07:20 PM
Learning Code oxxygenn Mac Programming 3 Jul 19, 2012 09:15 PM

Forum Jump

All times are GMT -5. The time now is 05:13 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC