[jira] [Comment Edited] (CB-8680) Support Swift templates

2015-03-17 Thread Carlos Santana (JIRA)

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

Carlos Santana edited comment on CB-8680 at 3/17/15 1:37 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 ~/Desktop/radness 
org.apache.cordova.radness Radness --swift



was (Author: csantana):
[~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


 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



[jira] [Comment Edited] (CB-8680) Support Swift templates

2015-03-17 Thread Carlos Santana (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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



[jira] [Comment Edited] (CB-8680) Support Swift templates

2015-03-17 Thread Carlos Santana (JIRA)

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

Carlos Santana edited comment on CB-8680 at 3/17/15 2:34 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 
--template=[swift|objc]  (template defaults to objc for now until we see swift 
takes over the world :-) )
cordova platform add ios --template=swift

If other platforms want to add another values go ahead like fireos | tv, I 
don't much about amazon fireos

--template is a flag that platforms create scripts can ignore or use
- For Platform Flow using the create script I will suggest the same thing allow 
to pass a flag cordova-ios/bin/create ~/Desktop/radness 
org.apache.cordova.radness Radness --template=swift



was (Author: csantana):
[~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 ~/Desktop/radness 
org.apache.cordova.radness Radness --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