Re: Cocoa from C++ (dont want to mix it)
Re: Cocoa from C++ (dont want to mix it)
- Subject: Re: Cocoa from C++ (dont want to mix it)
- From: John Stiles <email@hidden>
- Date: Thu, 14 Apr 2005 17:05:02 -0700
On Apr 14, 2005, at 4:37 PM, Ondra Cada wrote:
John,
On 15.4.2005, at 0:39, John Stiles wrote:
Or do what I do, and use Objective-C for the basic GUI layer and C++
for everything else.
Far as "everything else" means controller, it is pretty bad for you,
since with Objective C you could exploit bindings. That's something
C++ cannot even think of, due to its lack of dynamic services. And it
is an *extremely* powerful technique, which can save hours and hours
(and with bigger projects days or months) of effort.
So, it seems the "everything else" somewhat shrunk to a model. All
right and well today, but I daresay even this option will become
pretty dull 29th this month, when models are able to be Core Data -
based :))
And of course, although I can't know for sure, but judging from EOF I
bet Core Data exploit -- among others -- faults. That's another thing
you won't properly implement in C++, ever.
So I would actually recommend a completely different approach: go
Objective C completely, model, view, controller, at all. It is worth
it: including the time needed for learning, you'll have a killer app
on the market before a poor C++ user even begins debugging an alpha
release of his stuff :))
Assuming, of course, that you don't need to ship this code on any other
platforms.
Keep in mind that not all of us have that luxury :)
_______________________________________________
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