• 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: C on Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C on Xcode


  • Subject: Re: C on Xcode
  • From: Wade Williams <email@hidden>
  • Date: Sat, 06 Aug 2011 19:36:02 -0500

Simplest solution:

1)  Create a C interface to your C++ library.  A good C++ library should already have this.

2)  Add the C++ library and header to your project.

3)  Since Obj-C can call C directly, you can then just call your library from anywhere in your Obj-C code that imports the header.

Wade
On Aug 6, 2011, at 3:01 PM, Claudio Ceballos Paz wrote:

Hello, friends.
I'm trying to integrate Zinnia [1]  on my iPad proyect. But I don't know how to integrate a C++ library to my Objective-C proyect on Xcode.
I've seen some tutorials on genereic integration of C++ and Objective-C++.
Can anyone help me? I'm quite lost.
Thanks.

[1] http://zinnia.sourceforge.net/
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
  • Follow-Ups:
    • Re: C on Xcode
      • From: Jens Alfke <email@hidden>
References: 
 >C on Xcode (From: Claudio Ceballos Paz <email@hidden>)

  • Prev by Date: Re: C on Xcode
  • Next by Date: Re: deleting old core data models
  • Previous by thread: Re: C on Xcode
  • Next by thread: Re: C on Xcode
  • Index(es):
    • Date
    • Thread