On 03 May 09, at 17:17, [email protected] wrote:
I was discussing with a developer about my desire to translate our C+ + code (really simple and few methods and classes) to Objective-C, for a Cocoa/Cocoa Touch software.

His answer has been: « I do not understand the reason, considering that, after our translation to Objective-C, the Cocoa layer will perform another translation to C++. »

Is it true? Cocoa (and/or Cocoa Touch) layer translates Objective-C objects to C++?

No. While Objective-C++ will allow you to mix C++ code with Objective- C code, their objects are not interchangeable. A C++ object cannot be sent an ObjC message, for instance, nor can a Cocoa class be the recipient of virtual method calls._______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to