• 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: Bridging C++ to Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bridging C++ to Cocoa?


  • Subject: Re: Bridging C++ to Cocoa?
  • From: Graham Reitz <email@hidden>
  • Date: Sat, 17 Nov 2007 17:57:19 -0600

Thanks Filipe,

I looked over some of the ogre examples and it almost looks like you can use C++ classes right in Object-c++. Is that right?

graham

On Nov 17, 2007, at 11:03 AM, Filipe Varela wrote:

Hi

Have a look at Obj-C++. Basically, c++ instances can exist as "properties" inside any Obj-C class (compile with Obj-C++) much like any ansi c type or Obj-C instance.

I use it all the time to build cocoa GUIs to stuff i have in portable c++.

I also recommend having a look at Ogre Cocoa front ends. While you may not be interested in Ogre itself (3D), the Cocoa samples are really simple and should allow you to understand how to mix c++ with Cocoa/Obj-C++

Cheers,

Filipe

On 2007/11/17, at 16:07, Graham Reitz wrote:

Hello,

Could someone point me to a simple example of bridging straight C++ classes to an Objective-C/Cocoa gui?

For example, I have several C++ classes that compile on mac, linux, and windows and would like to feed their output to a Objective-C/ Cocoa based gui. How do I go about that? I just got started and am on the steep slope of the learning curve.

Thanks much,
graham

I just switch to mac this year, yea!   Loving it.


_______________________________________________

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


_______________________________________________

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


  • Follow-Ups:
    • Re: Bridging C++ to Cocoa?
      • From: Shawn Erickson <email@hidden>
    • Re: Bridging C++ to Cocoa?
      • From: Graham Reitz <email@hidden>
References: 
 >Bridging C++ to Cocoa? (From: Graham Reitz <email@hidden>)
 >Re: Bridging C++ to Cocoa? (From: Filipe Varela <email@hidden>)

  • Prev by Date: Re: Detecting new line character(s) in text file?
  • Next by Date: Re: Bridging C++ to Cocoa?
  • Previous by thread: Re: Bridging C++ to Cocoa?
  • Next by thread: Re: Bridging C++ to Cocoa?
  • Index(es):
    • Date
    • Thread