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: Ken Tozier <email@hidden>
- Date: Thu, 12 Jul 2007 11:36:40 -0400
This doesn't help with the actual implementation, but you could use
nibtool to export nibs to Plist/XML format which would give you some
idea of what needed to be implemented on other platforms.
Most likely other platforms will have some degree of XML handling
built-in and you could write a C++ class that knows how to convert
the various objects in the XML into native GUI widgets on each
platform. Definitely not a trivial undertaking but might get you in
the ballpark.
On Jul 6, 2007, at 12:23 PM, Felipe Monteiro de Carvalho wrote:
Hi,
I was thinking if there are people here that working implementing a
Cocoa version of a cross-platform toolkit. I know that at least the
Java GUI libraries are implemented with Cocoa, so this is possible.
How can this be done? Should one try to generate .nib files on the
fly, based on the calls to the framework, or just try to work without
them? Or, of in another way, how?
The problem is basically this: You receive a certain number of API
calls and is responsible for generating a GUI based on that. So you
don't know previously anything about the GUI. Everything is done at
run-time.
I know this is a very generic question, but Cocoa is very different
from other GUI libraries, because they usually allow GUIs to be easely
created from code without the need of external tools or external
files.
thanks,
--
Felipe Monteiro de Carvalho
_______________________________________________
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:
40comcast.net
This email sent to email@hidden
_______________________________________________
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