Re: Cross-platform?
Re: Cross-platform?
- Subject: Re: Cross-platform?
- From: Camillo Lugaresi <email@hidden>
- Date: Thu, 16 Feb 2006 01:30:53 +0100
On 16/feb/06, at 01:04, Scott Squires wrote:
Curious about how people are dealing with cross-platform issues.
Cocoa on Mac to ? on Windows, ? on Linux.
If it was a carbon app all/most code would be in C or C++ and UI
could be
dealt with in at least somewhat similar fashion between platforms.
Seems to
be one of the potential trade-offs of Cocoa vs Carbon that Apple
doesn't
address much.
I know I can code in C or C++ within Cocoa as well but how are most
real
Cocoa developers dealing with this and the UI porting issues? Or
are most
Cocoa developed apps staying Mac only?
Is the potential faster/easier coding in Cocoa(is it?) offset by
added time
and work to port to other platforms?
A common practice is to write the Mac front-end in Cocoa and the
cross-platform back-end in whatever. This is no different from
writing the front-end in Carbon: in both cases, it's not portable and
you need to write a different front-end for other platforms.
Another strategy is to use a cross-platform toolkit for the GUI, but
this usually results in a sub-optimal user experience on the Mac. A
recent example of this approach is Google Earth.
Camillo
_______________________________________________
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