Re: GNUStep, OpenStep, NextStep, Cocoa port?
Re: GNUStep, OpenStep, NextStep, Cocoa port?
- Subject: Re: GNUStep, OpenStep, NextStep, Cocoa port?
- From: "Sherm Pendley" <email@hidden>
- Date: Sat, 8 Mar 2008 23:52:17 -0500
On Sat, Mar 8, 2008 at 10:16 PM, Kirk Kerekes <email@hidden> wrote:
> IMNTBHO, OpenStep/GnuStep are not useful means for achieving cross-
> platform GUI applications, at least not if the platforms are OS-X and
> Win32.
>
> Anyone who would disagree should point two out.
>
> OTOH, Cocotron, <http://groups.google.com/group/cocotron-dev> while
> spottily incomplete, is Doing It Right.
I disagree - In my opinion, the Right Way (tm) to portability is to take
advantage of MVC design, with a portable model layer and as many
platform-specific views as you need. Recent "switchers" may not have heard
about it, but old-school Mac users have seen what happens when you try to
create portable views - Word 6.
I think Cocotron is a great start for portable model layers - a portable
Foundation that (unlike GNUStep) has minimal .dll or other baggage on
Windows.
But, what I'd like to see beyond that is a new Objective-C "WinKit"
framework around Win32. It could certainly use an API similar to Cocoa's
wherever it makes sense to do so. But, I don't think it needs to be a
perfect method-for-method Cocoa clone to be incredibly useful, so I wouldn't
bother trying to emulate stuff like sheets and drawers. They'd be foreign
and confusing to Windows users, so I wouldn't want to use them in a Windows
port anyway.
Sure, with a "WinKit" that's only partially Cocoa-compatible, I'd have to
write separate platform-specific views. But I want to do that anyway, to
have a truly native port. All I want is to write both views in Objective-C,
and use Foundation in my model. That's not one-click portability, but it's
still a big step above having to use C++ in my model and the Windows view.
sherm--
_______________________________________________
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