https://github.com/moduscreateorg/cordova-swift3-plugin-example
Swift 3 Cordova plugin example to support blog post.
https://github.com/moduscreateorg/cordova-swift3-plugin-example
cordova cordova-plugin ios-app phonegap phonegap-plugin swift swift3
Last synced: about 1 month ago
JSON representation
Swift 3 Cordova plugin example to support blog post.
- Host: GitHub
- URL: https://github.com/moduscreateorg/cordova-swift3-plugin-example
- Owner: ModusCreateOrg
- License: mit
- Created: 2017-01-01T18:00:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T17:31:32.000Z (almost 7 years ago)
- Last Synced: 2025-04-15T03:06:33.371Z (about 1 month ago)
- Topics: cordova, cordova-plugin, ios-app, phonegap, phonegap-plugin, swift, swift3
- Language: Swift
- Size: 2.93 KB
- Stars: 23
- Watchers: 6
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cordova Swift 3 Plugin Example
Example Cordova plugin for iOS to support blog post. The native part of the plugin is written in Swift rather than Objective-C. This has been updated to use Swift 3 / XCode 8.2 / Cordova 6.4.
A simple Cordova plugin based on the [ModusEcho plugin](https://github.com/ModusCreateOrg/cordova-plugin-example) example, which in turn was based on the echo plugin example from the [Cordova documentation](https://cordova.apache.org/docs/en/latest/guide/hybrid/plugins/index.html).
* `echo` method: Extends that example to display a native dialog on iOS that auto dismisses after a short time.
* `echojs` method: Basic demo showing that plugins can also be used to organize and distribute useful JavaScript, and don't need native implementations necessarily.