Re: Cocoa Classes from C++?
Re: Cocoa Classes from C++?
- Subject: Re: Cocoa Classes from C++?
- From: Jens Alfke <email@hidden>
- Date: Tue, 27 May 2008 16:31:19 -0700
On 27 May '08, at 4:24 PM, Andrew Farmer wrote:
don't expect anything really creative (like C++ objects as member
variables of an ObjC object) to work quite correctly.
We did that the PubSub framework and it works fine, actually. You just
have to check the "Call C++ Ctors/Dtors in Obj-C" build option in
Xcode. Note that only the default (no-args) constructor will be
called, since Obj-C has no syntax to allow you to call constructors of
member objects.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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