POV-Ray : Newsgroups : povray.off-topic : Objective comparison of computer languages. : Re: Objective comparison of computer languages. Server Time
6 Sep 2024 01:23:49 EDT (-0400)
  Re: Objective comparison of computer languages.  
From: Warp
Date: 2 Jun 2009 15:26:27
Message: <4a257ce3@news.povray.org>
Darren New <dne### [at] sanrrcom> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.