Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

objc2swift

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

objc2swift - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc