Re: Obj-C as a viable multi target language
Re: Obj-C as a viable multi target language
- Subject: Re: Obj-C as a viable multi target language
- From: Guy English <email@hidden>
- Date: Wed, 8 Dec 2004 14:33:39 -0500
On Wed, 8 Dec 2004 13:29:12 -0500, Philippe Hausler <email@hidden> wrote:
> it takes me nearly triple the time to develop
> software for Windows as it does Mac OS X.
Yeah. It only makes you feel worse working on Windows when you know
there are better ways.
> I may be completely off base here and suffering brain damage from
> writing too much Windows application code, but I really think that it
> would be a pretty good idea.
Well Cocoa came from OpenStep which up until about '98 ran on Windows
NT. Apple did have a YellowBox (Cocoa on Win32) strategy at one point
but it went away with Rhapsody once OS X came into the picture. You
can still see evidence of Win32 support in the headers - NSApplication
has methods for HINSTANCEs, NSImage can init from HBITMAPs and HICONs,
stuff like that.
Don't wait for Apple to port Cocoa though. Since WebObjects moved to
Java they've had no internal need to keep it and the ease of
developing for OS X is one the platforms major draws. Do look into
GNUstep though - I haven't checked in ages but last I did their
Foundation was complete and the majority of their AppKit was done.
Note that GNUstep targets the OpenStep spec though and, while they do
add some Apple stuff, they're not chasing Cocoa. For example I'm sure
they have no bindings support and lots of frameworks from OS X won't
be available.
I think you're asking about using Xcode and Interface Builder to cross
develop with. Well, in theory, yeah, gcc can compile to x86 code and
you could setup to link with GNUstep but it won't be as easy as adding
another target. The big nail in the coffin for the idea is that
GNUstep doesn't use OS X nibs so those would have to change. Look here
for an alternative: http://www.gnustep.it/Renaissance
Later,
Guy
_______________________________________________
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