I am a newbie to the cocoa world (PC -> Mac switcher). I have a
fair amount of experience coding in C and C++ and I am just getting
into Obj C now. Right now I am trying to learn the language idioms
and patterns in the Obj C world, specifically, when do you find
yourself mixing C++ code with your Obj C code in your project? How
often do you do that? What's the pros and cons of doing that?
I tend to use a lot of C++ for performance, features and portability
reasons. The parts of Objective-C I need are then most of the time
in .mm files which often contain a C++ class using Objective-C
functionality.
New projects that are not performance-critical and are not likely to
get ported anywhere else except OS X, those I tend to start in
Objective-C.