Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-add-swift-support

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-add-swift-support

Add Swift support to your iOS plugins

  • 1.7.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

npm version Build Status npm

cordova-plugin-add-swift-support

swift-128x128

This Cordova plugin adds the Swift support to your iOS project.

Installation

You can add this plugin directly to your project:

cordova plugin add cordova-plugin-add-swift-support --save

Or add it as a dependency into your own plugin:

<dependency id="cordova-plugin-add-swift-support" version="1.7.2"/>

By default, the Swift 3 support is added but the legacy version (2.3) can still be configured as a preference:

<preference name="UseLegacySwiftLanguageVersion" value="true" />

Or it is possible to specify the version as following:

<preference name="UseSwiftLanguageVersion" value="4" />

If needed, add a prefixed Bridging-Header file 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.

If the cordova-plugin-add-swift-support plugin is already installed to your project, then you can add your own Swift plugin as usual, its prefixed Bridging-Header will be automatically found and merged.

Contributing

The src folder contains ECMAScript 2015 source files. This project is built and bundled using Babel and Webpack.

License

MIT

Keywords

FAQs

Package last updated on 30 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc