Coder Social home page Coder Social logo

swiftyjsonaccelerator's Introduction

SwiftyJSONAccelerator

(Alpha v0.0.6)

Download the .app (v0.0.6)

Logo

A swift model generator like the Objective-C JSONAccelerator. Formats and generates models for the given JSON and also breaks them into files making it easy to manage and share between several models.

The models that are generated depend on JSON object mapping libraries, currently the model can be generated to depend on any of the below mentioned mapping libraries:

Currently, the pattern is very similar to its Objective-C counterpart. It generates classes with following properties.

  • Initalize with JSON (SwiftyJSON or ObjectMapper)
  • Initalize with AnyObject
  • Optional NSCoding compliance.
  • Convert object to NSDictionary

Preview

Simple configurable interface for generation of file

Preview

Each class in the JSON is generated as a file.

TODO

  • Handle blank array a bit better.
  • Better User Interface and icon.
  • Generate both struct and class.
  • Support for further JSON object modelling libraries.
  • Add tests and integrate with Travis CI.
  • Create a Xcode plugin and a command line executor.

Any suggestions regarding code quality of the app, generated code's quaility, Swift related improvements and pull requests are all very welcome.

swiftyjsonaccelerator's People

Contributors

insanoid avatar amyleecodes avatar

Watchers

Francisco J. Belchi avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.