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: Uli Kusterer <email@hidden>
- Date: Fri, 6 Jul 2007 18:38:39 +0200
On 06.07.2007, at 18:23, Felipe Monteiro de Carvalho wrote:
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.
You can do that in Cocoa as well. You just alloc/init the
appropriate NSView subclasses or NSWindow or NSMenu, then put them
together using setSubmenu: or addSubview:.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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