views:

525

answers:

6

I have developed for a number of years in Java, primarily for Linux and Windows. During my undergrad and grad school times, I also did quite a bit in C and C++. I have recently (in the last year and a half) started using primarily Apple computers at home, and am interested in exploring their Xcode development environment. I am interested in learning how to use the Cocoa interface, etc. However, I know nothing (or next to nothing) about Objective-C. I am aware it is a pure superset of C, however I am interested in some resources for learning it.

In the past, to teach myself concepts of Swing for Java, I have used O'Reilly books, such as the Swing Bible, Java Swing by Marc Loy et. al. Is there a similar book for Objective-C, or a book that is really good to learn from? I would prefer if it was fairly technical, had examples, etc. Has anyone else attempted to learn Objective-C this way? Are there any specific things I should look at?

Just to note, yes I do have K&R, I have read it too many times to count, and I am aware of C syntax. It has been a while, but I do remember large amounts of it. :) I did see this question, but I did not see any particular resources mentioned, simply some general statements about learning.

Thanks!

+7  A: 

Cocoa Programming for Mac OS X (3rd edition) by Aaron Hillegass is great! As the title implies, it's about cocoa, but you'll learn a lot about Objective C from that book, and Cocoa is the most likely use case for Objective C as well.

August Lilleaas
Can't agree more, this is a great book
paulthenerd
It is a great book, but it's not targeted at teaching Objective-C itself. For that, "Programming in Objective-C 2.0" by Steven Kochan — as well as the official Apple documentation — are much better resources.
Quinn Taylor
A: 

Here is a good resource.

Jeremy Cron
Yeah, I did look at those - I did not see any particular resource recommendations. For some reason, my link did not attach to my question.
aperkins
+2  A: 

Not the best way to learn but Apple's Objective-C 2.0 docs aren't too bad.

The Objective-C 2.0 Programming Language

Most definitely follow August's recommendation though.

criscokid
I would say the if you already know how to program this is a very good way to learn.
Amuck
+1  A: 

I personally really liked this book, the writing style really worked with me

Learn Objective–C on the Mac

optician
What was the writing style like? Was it more conversational, more technical, somewhere in between?
aperkins
This will help with a wider range of views, http://www.amazon.com/Learn-Objective-ndash-Mac/dp/1430218150 , I would say it is somewhere in between, however looking at your experience, this might go over some topics you are over familiar with. However the apple documentation is very dry. Perhaps just skim all chapters apart from the object ordination and cocoa specific ones, unless you find yourself enjoying it.
optician
Good to know - I am thinking about checking it out. Appreciate the comment :)
aperkins
+4  A: 

I asked this question a while back. There were several good resources listed: http://stackoverflow.com/questions/461426/what-are-some-of-the-best-online-resources-for-learning-objective-c

Kevin Babcock
Thank you - I must have missed it. :( Any particular resource(s) that you would recommend from the list there?
aperkins
I never ended up picking up any books but I found the "Intro to Objective-C 2.0" documentation to be superb! http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html
Kevin Babcock
+9  A: 

There are also several related SO questions:

Quinn Taylor
Thank you for the comprehensive list :) I will need to check out a bunch of these :)
aperkins