From: Kevin B. <krb...@ma...> - 2004-05-28 05:41:47
|
Hi there=97 (reply below) On May 27, 2004, at 10:44 PM,=20 rub...@li... wrote: > From: harry <hv...@ch...> > Date: Thu, 27 May 2004 08:43:25 +0200 > To: rub...@li... > Subject: [Rubycocoa-talk] Re: Re: Cocoa Bindings support? > Reply-To: rub...@li... > > > On 27-mei-04, at 5:46, rub...@li... > wrote: > >> From: Chris Thomas <cj...@cj...> >> Subject: Re: [Rubycocoa-talk] Cocoa Bindings support? >> Date: Wed, 26 May 2004 13:45:49 -0700 >> To: rub...@li... >> Reply-To: rub...@li... >> >> If you build RubyCocoa yourself, it will contain support for all of=20= >> the >> new Panther Cocoa classes. The build process scans the Cocoa headers=20= >> to >> generate the Ruby interfaces. >> >> Chris > > I did build RubyCocoa myself, because at the time the binary install > didn't work; I had to remove some deprecated constants from > framework/src/objc/cocoa/rb_NSGraphics.m and rb_NSSavePanel.m in order > to get it build. After that, it works fine, untill I tried my hands on > Cocoa Bindings, new in Panther. In doing so, you removed the things that disappeared from Cocoa in=20 10.3, but you didn't add support for any of the new things that=20 appeared. To do that, all you have to do is re-run the script that=20 generates the class bindings: % cd framework/src/objc/cocoa/ && ruby gen_cocoa_wrapper.rb Then re-configure and re-build as normal. That should get you going. Pacem in terris / Mir / Shanti / Salaam / Heiwa Kevin R. Bullock= |