You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Erik Jan de Wit (JIRA)" <ji...@apache.org> on 2014/08/29 08:57:53 UTC

[jira] [Created] (CB-7428) Enable Swift development of Plugins

Erik Jan de Wit created CB-7428:
-----------------------------------

             Summary: Enable Swift development of Plugins
                 Key: CB-7428
                 URL: https://issues.apache.org/jira/browse/CB-7428
             Project: Apache Cordova
          Issue Type: New Feature
          Components: iOS
    Affects Versions: 3.5.0
            Reporter: Erik Jan de Wit


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)