View Full Version : Java to Cocoa help?

Apr 28, 2009, 11:25 PM

I am a Junior in Computer Science, and I have programmed extensively in Java. I want to develop for the iPhone over the summer and want to know any recommendations for books.

I was told that I could just go learn C# and then work my way to Cocoa. So, does any one have any books that they could recommend for someone with vast Java knowledge to make their way to Cocoa?

Apr 29, 2009, 01:26 AM
I don't know any book, but I would skip the c# part - why not learn objective-c (or cocoa touch) directly, seems far more easy to me.

in the end, if you are an experienced programmer (doesn't really matter in what language) you won't have so much trouble learning objective-C. it's very OOP and it's very MVC and that is strange at first, but really nice once you've gotten into it.

in the end, if you want a book, you can grab anything that's not for total noobs I guess, but others here will tell you good books for sure, I can't, sorry.
If you want to jump right in: Look at example codes and documentations from apple. this might be enough if you are experienced in java, at least at the beginning, you might need a book later.

Apr 29, 2009, 01:48 AM
I'm in the same boat as you, I have a Java background and I'm starting to learn Obj C.

I've started reading this. (http://www.amazon.com/Cocoa-Programming-Mac-OS-3rd/dp/0321503619/)

The author does a really good job at clearly explaining the syntax between Java and Obj C.

I'd give it a shot if I was you.

BTW the book is more centered around OS X development but I'm pretty sure once you know that, Developing for the iPhone should be the same.

Apr 29, 2009, 02:11 AM
Like you , i've very good experience in Java, and to learn the Objectiv-C , the best way is to try: you read some Source Code, (you can find them on the web easily) And you try some peace of this code one your own project. I know it's not usualy the way we take to learn, but for me, it work ... :) maybe for you too xD