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 Wed, 26 Apr 2017 21:18:17 GMT
Github user lucatorella commented on the issue:

    https://github.com/apache/cordova-ios/pull/254
  
    No, because now that enum is not accessible in Swift. So if we want to make it accessible,
it's better to make it accessible with proper name conventions (`.noResult`, `.ok`, ...).
If you just add `NSEnum` then it will be available in Swift with weird names, and then if
you decide in a next version to use `NS_SWIFT_NAME`, then you'll have a breaking change on
the Swift side.


---
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