Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "objc2swift", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Objective-C to Swift Converter", | ||
@@ -5,0 +5,0 @@ "main": "src/main.js", |
@@ -8,5 +8,7 @@ # Objc2Swift.js [![npm version](https://badge.fury.io/js/objc2swift.svg)](https://badge.fury.io/js/objc2swift) | ||
Note: the author currently has no plan to support full features of Swift 3 or greater. | ||
## Features | ||
- Generate good-looking Swift code from Objective-C code. | ||
- Generate good-looking Swift 2.1 code from Objective-C code. | ||
- Full Objective-C parser which accepts large source code, not for toy-problem. | ||
@@ -66,1 +68,9 @@ - Preserve indents and comments in the original Objective-C code. | ||
``` | ||
## How to Build | ||
```sh | ||
git clone https://github.com/okaxaki/objc2swift.git | ||
cd objc2swift | ||
npm install | ||
./node_modules/.bin/gulp build | ||
``` |
@@ -228,2 +228,6 @@ module.exports = (function(){ | ||
Generator.prototype.ModuleImportDirective = function(node) { | ||
return "import " + node.argument.name; | ||
} | ||
Generator.prototype.FunctionDefinition = function(node) { | ||
@@ -230,0 +234,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
817344
26547
75
0