• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C++ related issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >C++ related issues (From: Sigalit Hed <email@hidden>)

  • Prev by Date: Re: Debugger: invalide NSString *
  • Next by Date: altering NSPopupButtons
  • Previous by thread: C++ related issues
  • Next by thread: Looking for NSTreeController samples
  • Index(es):
    • Date
    • Thread