Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Mac OS X Port

Carolyn wrote:
I think you need to be absolutely certain that you don't care about all the older Macs out there,
because Cocoa won't work with older versions of the Mac OS.

Eclipse wouldn't run on older Macs because it uses Java 2 and Apple has no plans to have Java 2 on a MacOS < 10.


The more I read about Cocoa (not just Java-Cocoa, any Cocoa), the more it looks like an SWT peer to me (where peer == "same level", not "AWT peer"). As such, it is probably going to be difficult to port SWT to, because of event loop issues and other random problems that come up when you try to port on top of something that is really at the same level as you, and has already solved all of the same problems that you solved, possibly in different ways.

I found exactly these kinds of problems and gave up with Cocoa.

(It would sure be more natural to port SWT to Carbon...

Yes, the Carbon event model is a good fit to SWT because its similar to the Windows API.

but then, of course, you don't get Aqua...)

No, you get Aqua with Carbon on MacOS X, but you loose some of the niceties of Cocoa (like really nice looking antialiased text). Microsoft and many other companies are porting their apps to Carbon only, not to Cocoa!
And its not easy to spot the difference to Carbon apps!

--andre


Back to the top