Hi,

  Kimbro Staken (an independent Mac OS X consultant)
has written up a blog story titled "Renaissance - XUL
for Cocoa" about his expirements of using GNUStep
Renaissance to build Mac OS X Cocoa applications.

   Kimbro writes:

   Mac OS X of course, already has a very cool tool
for wiring together Objects, it's called Interface
Builder. Interface Builder generates .nib files that
are simply serialized graphs of objects. Nib files are
not XML (contrary to what Apple says), though they
probably could be and I personally wish they were. I
suspect there's a way to convert them, but I'm not
sure how. 

  Anyway, what Renaissance provides is basically a way
of creating a nib file that is specified in XML. The
major downside is that you lose the ability to use
Interface Builder. That's unfortunate, but not a
showstopper for my current experiments. I think the
combination of PyObjC and Renaissance is going to be
particularly fun.

  Here's a simple Renaissance example, the code used
with it is just standard Cocoa code like if you were
using a Nib file. 
    
<!DOCTYPE gsmarkup>
<gsmarkup>

<objects>

  <window title="Button Test" closable="no"
frameAutosaveName="main" >

      <vbox>
        <button title="Click this button to quit
&lt;disabled&gt;"
                enabled="no" 
                action="terminate:" />
        <button title="Click this button to quit
&lt;enabled&gt;"
                action="terminate:" />
      </vbox>

  </window>

</objects>

</gsmarkup>  


  Full story @
http://www.xmldatabases.org/WK/blog/1095_Renaissance_-_XUL_for_Cocoa.item
and http://www.gnustep.it/Renaissance
   
   - Gerald


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
xul-announce mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xul-announce

Reply via email to