Re: Objective-C++
Re: Objective-C++
- Subject: Re: Objective-C++
- From: Andreas Monitzer <email@hidden>
- Date: Wed, 15 Aug 2001 21:39:10 +0200
On Wednesday, August 15, 2001, at 08:57 , David Kopec wrote:
I believe that more complex applications of the below procedure will make
for sloppy code. I find this troublesome. I was under the
impression(wrongly so) that ObjectiveC++ would only allow Cocoa objects
to contact C++ objects, and not the other way around. Hence C++ objects
could become Model objects in the Model-View-Control paradigm. This is
quite unfortunate, as I believe we will soon see applications utilizing
the below technique and creating chaos.
Calling ObjC from C++ already works with the current (10.0.4) compiler
using objc_msgsend(), so it doesn't help when you try to hide that feature.
However, C++-classes can't be delegate or data source for anything.
And I personally don't mind when others mess their code up :-)
andy
--
Discussion forthcoming.