3 Apr
2009
3 Apr
'09
6:23 p.m.
On Apr 3, 2009, at 4:25 AM, Frisco Del Rosario wrote:
Brad Wilson:
This is untested, but I'd suggest trying: def webView(sender, didReceiveTitle:title, forFrame:frame) sender.window.setTitle(title) end
FYI, you can also write sender.window.title = title As for the method not being triggered, I would also suspect a connection problem in IB. The following tutorial illustrates how to set up connections from IB and a MacRuby project, and might perhaps help you. http://developer.apple.com/mac/articles/scriptingautomation/cocoaappswithmac... HTH, Laurent