This Cordova plugin adds Swift 3 support to your iOS project.
InstallationYou can add this plugin directly to your project:
cordova plugin add cordova-plugin-swift-support --save
Or add it as a dependency into your own plugin:
<dependency id="cordova-plugin-swift-support" version="~3.1.1"/>
If needed, add a prefixed
Bridging-Headerfile in your plugin in order to import frameworks (
MyPlugin-Bridging-Header.h, for instance). As an example you can have a look at this plugin.
cordova-plugin-swift-supportplugin is already installed to your project, then you can add your own Swift plugin as usual, its prefixed
Bridging-Headerwill be automatically found and merged.