• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cross-platform toolkit with a Cocoa backend
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Cross-platform toolkit with a Cocoa backend (From: "Felipe Monteiro de Carvalho" <email@hidden>)

  • Prev by Date: Re: Core Data and Document Packages
  • Next by Date: Re: NSNumberFormattter not working
  • Previous by thread: Re: Cross-platform toolkit with a Cocoa backend
  • Next by thread: Core Data thread safety question
  • Index(es):
    • Date
    • Thread