View Full Version : C++ to cocoa

Feb 10, 2006, 10:09 AM
I have been learning C++at university and i have decided i would like to learn cocoa in my spare time.

I was wondering if you could tell me what are the similarities between the 2 and also any books recommended to learn cocoa

Feb 10, 2006, 10:54 AM
Both are OOP, I think Cocoa will be realtively easy for you to learn if you're leaning C++

One of the best books around is Cocoa Programming for Mac OS X (http://www.bignerdranch.com/products/cocoa1.shtml). I've used it and it's a great resource for starting out. It gives a good variety of examples and explanations.

Check out the ADC (http://developer.apple.com) for lots of good documentation.

You can also join any of the many the ADC mailing lists for any of your programming-related questions

Feb 10, 2006, 12:59 PM
If you know C++ you should know C, and most of Objective-C is C, so it should not be difficult at all for you. However, learning all the vast Cocoa APIs (and the "zen" of Cocoa-Obj-C) will take much longer. I also agree about the Hillegass book, it's a very good introduction. Give the syntax some time to sink in, it will look awkward at first, but if you stick with it I predict you will soon be looking at C++ as the disharmonious, clunky mess that it is.