|
![](/i/fill.gif) |
Darren New <dne### [at] san rr com> wrote:
> Oh, I see. Not to my knowledge. I was more thinking one had to use Obj-C to
> program the iPhone, rather than it being an option alongside C++ and plain C.
Yes, if you want to make an iPhone program, you must have at least some
basic knowledge of Objective-C, as it's mandatory for certain things (eg.
the Cocoa API is in Objective-C, and you have to use it to create iPhone
programs).
Fortunately (at least for me :) ) Xcode for the iPhone actually supports
Objective-C++ rather than plain Objective-C. This means that everything
that is not related to Cocoa can be written in pure C++ (and even the code
which interacts with Cocoa can have C++ in it).
In other words, there's full support for C++ in the system. You can write
entire libraries in pure C++ (as long as it's standard portable code) and
use it in your iPhone apps.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |