title: How to call an Objective-C method from Javascript in a Cocoa/WebKit app?
body: <p>I have a Cocoa app that uses a WebView to display an HTML interface. How would I go about calling an Objective-C method from a Javascript function within the HTML interface?</p>