Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

blackbelt

macrumors regular
Original poster
Feb 2, 2008
125
0
I am new to macs, but have taken classes in java. Does anyone have any suggestions of a book where i could get a good start/ handle on xcode and programming on a mac, and potentially an iphone/ ipod touch?

Any Suggestions would be greatly appreciated!

Thanks:D
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
To program on the Mac and iPhone you need to know Cocoa programming. I suggest picking up a book.
 

blackbelt

macrumors regular
Original poster
Feb 2, 2008
125
0
I would hold off from buying any books until Aaron Hillegass's book, Cocoa Programming for Mac OS X (Edition 3) is released in June. It will be current with information pertaining to Xcode 3 rather than 2.

http://www.amazon.com/Cocoa-Programming-Mac-OS-3rd/

I have it pre-ordered, myself. :D

Good call

I think that i will wait, i probably won't start learning it for a few months anyway.
 

JPT

macrumors regular
May 4, 2006
247
0
Are there any free, online resources (Especially those that will be adding iPhone/Touch resources soon)? I know there's Apples Dev area, but for me that isn't really a viable option :(

Though messing around with some of their samples can get me started!

The book, Cocoa® Programming for Mac 3rd looks good, but I don't want to wait until the update is on my doorstep! haha
 

ebel3003

macrumors 6502a
Jun 20, 2007
630
0
"The Google"
Are there any free, online resources (Especially those that will be adding iPhone/Touch resources soon)? I know there's Apples Dev area, but for me that isn't really a viable option :(

Though messing around with some of their samples can get me started!

The book, Cocoa® Programming for Mac 3rd looks good, but I don't want to wait until the update is on my doorstep! haha

http://cocoadevcentral.com/ is pretty good, but other than what Apple offers, there isn't really any other good resources out there.
 

Cromulent

macrumors 604
Oct 2, 2006
6,817
1,102
The Land of Hope and Glory
Don't bother with Cocoa until you know the language it is written in.

Learn Objective-C first then think about GUI programming. Jumping into Cocoa first is just going to make it take longer to learn and understand.
 

crees!

macrumors 68020
Jun 14, 2003
2,018
245
MD/VA/DC
This book is the best starting-from-scratch with Objective-C that I've seen:

http://www.amazon.com/Programming-O...bs_sr_1?ie=UTF8&s=books&qid=1204852300&sr=8-1

Of course it doesn't cover Objective-C 2.0 features. I'm not sure this one's getting an update anytime soon. Still, a lot of the basics are the same.

Looks like in November when the 2.0 update to this book will be out.
http://www.amazon.com/Programming-O...=sr_1_5?ie=UTF8&s=books&qid=1210299040&sr=1-5

So are there not many Obj-C 2.0 books out there now? It's been many years since I've programmed in C, C++, or Java. Nowadays I'm working in AS2.0 and would like to learn to program OS X/iPhone apps; figuring starting from scratch would be best as Obj-C code/syntax I've seen just looks so foreign.
 

willcodejavafor

macrumors regular
Dec 4, 2007
228
0
Apple Developer Center has loads of tutorials/guides/videos/references and I'd start there if I were you. Buying a book is probably a good thing as well :)
 

Cromulent

macrumors 604
Oct 2, 2006
6,817
1,102
The Land of Hope and Glory
So are there not many Obj-C 2.0 books out there now? It's been many years since I've programmed in C, C++, or Java. Nowadays I'm working in AS2.0 and would like to learn to program OS X/iPhone apps; figuring starting from scratch would be best as Obj-C code/syntax I've seen just looks so foreign.

You'll need to learn Obj-C 1 for the iPhone anyway. As I understand it, it does not support some of the Obj-C 2 features such as GC. Best just to read an Obj-C 1 book, at least then you will remain compatible with previous versions of OS X (Obj-C 2 only works on Leopard).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.