Giter Site home page Giter Site logo

cordova-plugin-haptic-swift's Introduction

Cordova Echo Extension

This example project demonstrates how to create and extension for Cordova that uses native swift code.

For the Objective-C version go to https://github.com/nano3labs/echo-cordova

Install

git clone <echo-cordova-swift repo>
git clone <echo-cordova-plugin-swift>

You should now have ./echo-cordova-swift, ./echo-cordova-plugin-swift.

Repos:

cd ./echo-cordova
cordova platform add ios
cordova plugin add /full/path/to/echo-cordova-plugin-swift
cordova build ios

Running

Open platforms/ios/EchoCordova.xcworkspace in xcode and run either on the device or emulator.

Notes

  • remember to run cordova build ios everytime you make a change to the javascript
  • remove and add plugin if you make changes to OBJ-C code and remember to build cordova again (as per above)
  • debug using xcode debugger to step through code OBJ-C code
  • debug using safari remote debugger to step through Javascript code or see errors

References

cordova-plugin-haptic-swift's People

Contributors

ragcsalo avatar yagudaev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.