You probably want to make that a delegate of the application instance, not the ‘first responder’.On 13 jul 2011, at 20:12, guillaume belleguic wrote:I'm using a delegate class for the first responder of my MainMenu.xib_______________________________________________class AppDelegatedef application(sender, openFile: a_file)NSLog("Foo")return trueendendMy application should be able to open a webloc file.When I drop a webloc on the application icon, it never call the above method???Someone have a solution ??? Thanks
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel