Re: Cross-platform toolkit with a Cocoa backend
Re: Cross-platform toolkit with a Cocoa backend
- Subject: Re: Cross-platform toolkit with a Cocoa backend
- From: Kevin Walzer <email@hidden>
- Date: Tue, 10 Jul 2007 09:46:11 -0400
- Organization: WordTech Communications LLC
Felipe Monteiro de Carvalho wrote:
On 7/10/07, Dr. Rolf Jansen <email@hidden> wrote:
If you are looking at this from the point of view to find a
viable replacement for Carbon for Mac port of Lazarus, then you are
IMHO quite possible on the wrong track - I would suggest to stick
with the Carbon toolkit at the Mac side and use whatever toolkit for
Windows and X.
Well, the idea would be writing a lazarus port with cocoa.
I would love to stick with Carbon, it is really a great framework and
worked very well until now. The problem is that based on recent news,
as well as discussion on the mailling list I got the fealing that
Carbon has no future, and thus I should start all new projects on
Cocoa. And start cocoa versions of the carbon projects, to be prepared
for the future, just in case this proves true.
And even if it doesn't prove true, this work would be useful when we
need to use functionality that only exist for Cocoa, like the menubar
extras class.
Also, Lazarus already works with native 64-bits Windows, native
64-bits Linux (and others unixes as well). We won't restrict our
native Mac port to 32-bits. (AFAIK the 64-bits Carbon version was
dropped by Apple).
thanks,
There are many languages that have Cocoa bindings, i.e. you can write a
Cocoa application in that language, whether it is Python, Lisp, Ruby,
Perl, and so on. However, these bindings simply expose the
Cocoa/Objective-C API. You still have to write your applications "the
Cocoa way."
I'm not aware of any cross-platform toolkit that abstracts the details
of Cocoa into its own API, however. There are many examples of toolkits
doing this with Carbon--Tk, wxWidgets, Java/SWT, RealBasic, Qt, just to
name a few. According to their developers, Qt, wxWidgets and RealBasic
will eventually wrap Cocoa the way they currently wrap Carbon. However,
I have no idea how difficult this is to implement.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
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