• 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: Carbon question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carbon question...


  • Subject: Re: Carbon question...
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 17 Nov 2007 08:40:22 -0800


On Nov 17, 2007, at 7:58 AM, Graham Reitz wrote:

Thanks Shawn.  I will head over there.

I just switched to mac this year so I am trying to wrap my head around gui development on the mac.  I do nearly all of my development in C++.  I have little experience with Obj-C.

Before I swing over to the other forum.  Do you know where I can find a simple example of how to bridge a C++ app to a native Obj-C/Cocoa based ui?  Let's say I I have several classes written in C++ and want to display their output to a Cocoa based gui?

Using C++ With Objective-C

Basically you can intermix C++ and Objective-C in the same file (.mm) allowing C++ code to message objective-c based objects (or ObjC to call C++ methods). Hard to give an example without knowing more about how your code is designed and even harder knowing that you are likely new to Cocoa framework.

-Shawn

 _______________________________________________
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: 
 >cross-platform problem (From: Bengt Nilsson <email@hidden>)
 >Re: cross-platform problem (From: "Stefan Werner" <email@hidden>)
 >Carbon question... (From: Graham Reitz <email@hidden>)
 >Re: Carbon question... (From: Shawn Erickson <email@hidden>)
 >Re: Carbon question... (From: Graham Reitz <email@hidden>)

  • Prev by Date: Re: Carbon question...
  • Next by Date: Re: Breakpoints doesn't work - more info
  • Previous by thread: Re: Carbon question...
  • Next by thread: Re: Carbon question...
  • Index(es):
    • Date
    • Thread