• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Merge C++ library and Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Merge C++ library and Objective-C (From: "Gabriel Hoehener" <email@hidden>)

  • Prev by Date: Merge C++ library and Objective-C
  • Next by Date: Re: Xcode 3.0 and new SCM features
  • Previous by thread: Merge C++ library and Objective-C
  • Next by thread: Xcode debug follow fork
  • Index(es):
    • Date
    • Thread