Chris Mcgrath
c_r_mcgra****@yahoo*****
Thu Jan 25 10:07:22 JST 2007
Updated @ http://pastie.textmate.org/35465 Now you just need to give it the path to the nib and the ruby file, and it handles multiple classes defined in the one file. Cheers, Chris On 24 Jan 2007, at 23:27, Chris Mcgrath wrote: > (Accidently sent this to the main list first, copying here) > > I got tired of having to create classes in IB to match the ruby > classes I created, and manually add actions/outlets to them so things > would sink up so I wrote: > > http://pastie.textmate.org/35438 > > Run it with -h for the options. It assumes you've only got one class > that calls ib/ns_outlets per file. > > The classes.nib file inside a nib seems to be an old style plist > format, so I've assumed that's what it is. If this turns out not to > be true it could possibly mess up the nib, so make sure you have your > pristine copy in version control :) > > If I can find a way for it to automatically work out the class names > from the .rb file I will (suggestions welcome) > > Cheers, > > Chris > > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel