Re: Mixing C++ with Objective C
Re: Mixing C++ with Objective C
- Subject: Re: Mixing C++ with Objective C
- From: "Theodore H. Smith" <email@hidden>
- Date: Wed, 3 Aug 2005 15:14:04 +0100
I've done a lot of Mixing C++ with ObjC.
In essence, it boils down to this:
Use pointers, not explicitly put the entire struct inside the ObjC
object. Also, this works both ways, the Cpp class should have a
pointer to the ObjC objects.
Then you just new/delete the classes in your init/dealloc, or
wherever else is good.
_______________________________________________
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