Re: Cocoa-dev Digest, Vol 4, Issue 1333
Re: Cocoa-dev Digest, Vol 4, Issue 1333
- Subject: Re: Cocoa-dev Digest, Vol 4, Issue 1333
- From: Rick Mann <email@hidden>
- Date: Wed, 26 Dec 2007 11:28:18 -0800
On Dec 24, 2007, at 8:38 AM, Mike Rossetti wrote:
Yes, this is definitely possible, and probably a lot easier than you
might imagine. (I did this exact thing in a major commercial
application several years ago with great success--and it literally
took only a couple of days to get the basics up and running.)
Here's what I recommend (from memory, since I do not have the code
mentioned any more--so you will have to work the details):
First, write an Obj-C proxy class for your C++ Satellite class.
Fill it in with a pointer to your C++ satellite object and add KVC/
KVO compliant accessors and mutators (which are usually just a line
or two long because they just forward to the C++ object).
Okay, that's what I thought would work well.
Thanks for giving me some evidence that the approach is reasonable.
Someone else on the list agrees.
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden