Re: C++ related issues
Re: C++ related issues
- Subject: Re: C++ related issues
- From: Scott Ribe <email@hidden>
- Date: Sat, 18 Feb 2006 11:02:35 -0700
- Thread-topic: C++ related issues
> 1. I would like to know whether there is a way to integrate existing C++
> code to Cocoa or Carbon framework (without touching the code core but maybe
> only its outside envelope, if at all), such that we could benefit from
> Cocoa/Carbon user-interface and other capabilities, but at the same time
> will not have to migrate/port/translate our main code to objective C or
> Java.
Sure. It's a fairly common approach. For the UI, Cocoa is highly productive.
For the back end, well, depends on your application. I use C++ for my ORM
layer, because that best fit my design.
> 2. Does x-code have automatic code generation to C++ (as it has for
> objective-C when using the data model tool, under core data cocoa
> project/application).
No, and it wouldn't really make sense because Core Data is a
Cocoa/Objective-C framework. If you have your own data model based on C++,
then you would need your own code generator. If you're talking about
automating generation of classes to intermediate between the UI and you
existing C++ code, that's something you'd have to write...
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden