From: Tim B. <tim...@gm...> - 2006-03-04 07:58:20
|
Hi Yvon, You are right about oc_display -- this issue of name conflicts =20 between Ruby and Objective C is addressed in the next section (3.2). =20= I decided to leave the error (along with it's correction) in the =20 article to illustrate the problem. I put all my Ruby code in a single file that I named "RTW.rb". =20 "RTW" came from the initials of "Round Transparent Window"; I'm sorry =20= for the confusion about that. Tim On Mar 3, 2006, at 11:01 PM, Yvon Thoraval wrote: > > Le 4 mars 06 =E0 03:12, Tim Burks a =E9crit : > >> I wrote up an account of one conversion and put it online here: =20 >> http://www.rubycocoa.com/the-rubification-of-rtw. > > i'm reading step 3 right now, following an advice given by Jonathan =20= > Paisley, we could change the line (in Controller.rb) from : > > @itsWindow.display > to: > @itsWindow.oc_display > because display is allready used by ruby and get confused =20 > outputting (Run Log) : > > <CustomWindow: 0x4e8c30><CustomWindow: 0x4e8c30> > [...] > <0x4e8c30><CustomWindow: 0x4e8c30> > > each time we move the slider. > > another comment about your "RTW.rb" file for non english-mother-=20 > language readers, seems to be un clear )) > what does means RTW even if i understood it means something like =20 > "the related" file when you where speaking about Controller.m > > best, > > Yvon |