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?
I have a solution using NimbleKit. It can call Objective C functions from Javascript.