[ 
https://issues.apache.org/jira/browse/CB-8680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14365108#comment-14365108
 ] 

Carlos Santana edited comment on CB-8680 at 3/17/15 1:36 PM:
-------------------------------------------------------------

[~nasht00]Thanks for creating this JIRA Item.

I agree that this is a good feature to add to Cordova.

As implementation I would propose to support both flows CLI and Platform Only:
- For CLI I would suggest allow the user to pass flag to "cordova platform add" 
command like "cordova platform add ios --swift=true"
--swift is a flag that get ignore by all platforms except ios
- For Platform Flow using the create script I will suggest the same thing allow 
to pass a flag "cordova-ios/bin/create --swift"



was (Author: csantana):
[~nasht00]Thanks for the creating this JIRA Item.

I agree that this is a good feature to add to Cordova.

As implementation I would propose to support both flows CLI and Platform Only:
- For CLI I would suggest allow the user to pass flag to "cordova platform add" 
command like "cordova platform add ios --swift=true"
--swift is a flag that get ignore by all platforms except ios
- For Platform Flow using the create script I will suggest the same thing allow 
to pass a flag "cordova-ios/bin/create --swift"


> Support Swift templates
> -----------------------
>
>                 Key: CB-8680
>                 URL: https://issues.apache.org/jira/browse/CB-8680
>             Project: Apache Cordova
>          Issue Type: Wish
>          Components: iOS
>            Reporter: Nathan Hazout
>            Priority: Critical
>              Labels: ios, swift, xcode
>
> As an application developer, I want to add custom native code in my Cordova 
> project (not plugins).
> I would like Cordova to be provide an option tp generate the XCode template 
> with a  App Delegate in Swift.
> Swift is becoming more and more important. New iOS developers learn Swift 
> first now.
> Also, there are chances that Apple may require Swift by default in a few 
> versions...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to