Re: Adding a 3rd party C++ library to ObjectiveC project
Re: Adding a 3rd party C++ library to ObjectiveC project
- Subject: Re: Adding a 3rd party C++ library to ObjectiveC project
- From: Scott Ribe <email@hidden>
- Date: Fri, 07 Jun 2013 12:25:40 -0600
On Jun 7, 2013, at 11:08 AM, Todd Heberlein wrote:
> In general, I find I don't include C++ objects in my Objective C objects but instead include pointers to them. Then in the -init method (or appropriate place) I allocate the C++ object. This need may have changed over the years, but it has been what I've been using for several years.
FYI, the option to call default constructors of C++ objects embedded in Objective-C objects has been around since 10.3 ;-)
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden