The WebKit WKScriptMessageHandler protocol has one required method, defined like this in Objective-C
and like this in Swift
Unfortunately, no matter how I write this method in my actual code, the compiler complains either that it doesn't match the argument names or that I'm not conforming to the protocol. Example:
That doesn't compile. It should.
Moreover, no amount of playing with `@objc` overrides helps. I can't seem to find any workaround, so this project is currently out of action...
I enclose a small test project for you to play with.