You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Should be fixed in master as e003e5e, though I haven't tested with this project (or dups) yet. Will work on getting it into the Preview 1 branch tomorrow.
Attachment: Download
Environment
Toolchain: Swift Development Snapshot 2016-05-09 (a)
Additional Detail from JIRA
md5: f72b7fd1f83b5b9cc15520535500db4c
is duplicated by:
Issue Description:
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.
The text was updated successfully, but these errors were encountered: