Re: Merge C++ library and Objective-C
Re: Merge C++ library and Objective-C
- Subject: Re: Merge C++ library and Objective-C
- From: Rick Altherr <email@hidden>
- Date: Thu, 13 Nov 2008 16:08:26 -0800
On Nov 13, 2008, at 4:01 PM, Gabriel Hoehener wrote:
Hello
I want to merge a c++ library and my objective-c project. I managed
to import the library as a something.a - file and the header files i
include through the project settings (header files path or something
like that - sorry, late at night for me now). Everything works
fine. The libraries itself have no problems nor errors. So i can
compile both sepparately. NOW I want to write a class in Objective-C
(or c++?) that starts a process from the c++ library or just create
an object from the c++ library. Does somebody have any experiences
which could help me?
Thank you in advance
Gabe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com
This email sent to email@hidden
If the file extension is .mm, the compiler treats it as Objective-C+
+. That means you get the features of both Objective-C and C++. That
will let you write and Obj-C wrapper that uses C++ classes.
--
Rick Altherr
Architecture and Performance Group
email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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