Re: [MacRuby-devel] Obj-C translation
I guess the another thing to check is that you have actually set your class (with the code below) to be the delegate in IB?
Yup. I'm going to follow Steinberg's directions to build that little app with his supplied Obj-C code. Perhaps I should be working with Hillegass's vol. 3 instead. Because then if I go awry, I can fall back on your (John Shea's) translations.
On Apr 3, 2009, at 4:48 PM, Frisco Del Rosario wrote:
I'm going to follow Steinberg's directions to build that little app with his supplied Obj-C code.
I did that, and it worked. Then I compared all the files in the Obj-C project to the MacRuby project, and translated (again) the delegate method call that has been vexing. The MacRuby project works, finally, with def webView(sender, didReceiveTitle:title, forFrame:frame) sender.window.setTitle(title) end Which is exactly what Brad suggested, but that didn't work this morning. But I've had some sleep and food, while the MacBook has been restarted, and who knows what kind of miracles those things perform. Thank you all again!
participants (1)
-
Frisco Del Rosario