• Stars
    star
    117
  • Rank 301,828 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 9 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ”จ Swiftify your Cordova app !

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="2.0.2"/>

By default, the Swift 4 support is added but the legacy version (2.3) can still be configured as a preference, inside the project's config.xml, within the <platform name="ios"> section:

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

Or it is possible to specify the version as following, inside the project's config.xml, within the <platform name="ios"> section:

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

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, the minimum Node.js version is 6 (Boron).

License

MIT

More Repositories

1

wider-face-pascal-voc-annotations

WIDER FACE annotations converted to the Pascal VOC XML format
Python
80
star
2

cordova-plugin-dbmeter

๐ŸŽค๐Ÿ“ฃ Cordova plugin to get decibels from the microphone
Java
35
star
3

cordova-plugin-permissionScope

๐Ÿ”“ Cordova plugin to handle iOS permissions
Swift
29
star
4

docker-video-processing

A Docker image intended for video processing and analysing
Dockerfile
27
star
5

cordova-plugin-disable-bitcode

Cordova plugin to disable bitcode in iOS build settings
JavaScript
20
star
6

cordova-plugin-boilerplate

iOS Cordova plugin boilerplate written in Swift.
Swift
16
star
7

react-select-places

๐ŸŒ A Select control for places built from React-Select and Google Places API.
JavaScript
8
star
8

cordova-plugin-notificationcenter

iOS NSNotificationCenter bridge
JavaScript
7
star
9

parse-aws-s3-url

Parse an S3 URL and returns a suitable object for using with AWS SDK methods.
JavaScript
3
star
10

node-s3-extra

Convenient extra methods for the AWS.S3 service.
JavaScript
2
star
11

json-colorer

Color your JSON files
CSS
1
star
12

getCountry

Retrieve in which country you are from the HTML5 geolocation API.
JavaScript
1
star
13

akofman.github.io

HTML
1
star
14

docker-tensorflow-alpine

1
star
15

machine-learning-course

MATLAB
1
star
16

tfslim-models

Code for training and evaluating several widely used Convolutional Neural Network (CNN) image classification models using TF-slim.
Python
1
star
17

node-elasticbeanstalk

AWS Elastic Beanstalk tools
JavaScript
1
star
18

dotfiles

Shell
1
star
19

hubot-elasticbeanstalk

A hubot script to manage AWS Elastic Beanstalk applications
JavaScript
1
star