cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lucatorella <...@git.apache.org>
Subject [GitHub] cordova-ios issue #254: Expose CDVCommandStatus enum to Swift
Date Tue, 25 Apr 2017 14:15:52 GMT
Github user lucatorella commented on the issue:

    https://github.com/apache/cordova-ios/pull/254
  
    This change isn't braking old code. The enum is still called CDVCommandStatus in Obj-C.
It's just using the newer NSEnum syntax that is the recommended syntax even before Swift came
out.
    
    I would go even further and use NS_SWIFT_NAME to have names like `.noResult`, `.ok` etc.
in Swift.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message