• 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: Mixing Objective C and C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing Objective C and C++


  • Subject: Re: Mixing Objective C and C++
  • From: Bert Torfs <email@hidden>
  • Date: Wed, 26 Jan 2005 06:42:48 +0100

Kevin,

I considered that, but that would compromize the 'quality' of my view classes. Using things like bindings and such would not be possible with C++ objects.
These objective-C standins will make my life easier later when I move the model to Cocoa (and coreData - need tiger for that) as well. Jus as I can create a Cocoa view now without having to touch the model, I will be able to create a Cocoa model without touching the views later.


Thanks,

Bert


On 26-jan-05, at 03:42, Kevin Ballard wrote:

Why not just write the Controller in Objective-C++ and reference the C++ objects directly?

On Jan 25, 2005, at 2:51 PM, Bert Torfs wrote:

I am writing a program where the model is written in C++ (legacy), the view in Objective C and the controller something in between. Every C++ object has an objective C counterpart that acts as a pass-thru to its methods. These objects are created and released as needed. I have not touched the C++ objects until now.

-- Kevin Ballard email@hidden http://www.tildesoft.com http://kevin.sb.org

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Mixing Objective C and C++ (From: Bert Torfs <email@hidden>)
 >Re: Mixing Objective C and C++ (From: Kevin Ballard <email@hidden>)

  • Prev by Date: Re: Problems manually scrolling a view using mouseDown:
  • Next by Date: Re: Problems manually scrolling a view using mouseDown:
  • Previous by thread: Re: Mixing Objective C and C++
  • Next by thread: NSArrayController addObject: and rearrangeObjects
  • Index(es):
    • Date
    • Thread