Hi Swift lovers,
In order to test if Swift could even be used to write cordova plugins and truly test the
objective-c -> Swift interoperability. I’ve created a port of a very simple hello world
plugin to Swfit to see if that could work.
It seems that there is only one small hurdle the Bridging-Header is not automatically
added to the compiler options and the runtime libs are not there. After changing these
settings by hand one can use it. I’ve asked the cordova ML if there are any solutions to
these problems.
Cheers,
Erik Jan
have a look that the github plugin project
https://github.com/edewit/cordova-plugin-hello/tree/swift