Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7428

Enable Swift development of Plugins

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 4.0.0
    • cordova-ios
    • None

    Description

      For developing plugins it would be nice to be able to use the Swift language. Right now this already works, but one needs to set some Xcode settings by hand:

      • Deployment target needs to be 7.0
      • Add the bridging header file to the 'Swift Compiler - Code Generation' options
      • Add the Swift runtime to the search path (will probably not be needed for iOS8)

      see example plugin https://github.com/edewit/cordova-plugin-hello/tree/swift

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              edewit Erik Jan de Wit
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: