autoload-models

1.0.1 • Public • Published

autoload-models

autoload-models is a Nodejs Command Line Tool for translating json files into swift models automatically. This will add the newly created models to your xcode project.

Installation

Use the package manager npm to install autoload-models.

npm i -g autoload-models

Usage

Xcode

Integrate autoload-models into an Xcode scheme to dynamically generate models in the IDE. Just add a new "Run Script Phase" with:

if which autoload-models >/dev/null; then
  autoload-models --project . --path './models/' --output './<project-name>/models/'
else
  echo "warning: auto-load-models is not installed, download from https://github.com/bolencki13/autoload-models"
fi

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Resources

A number of resources were used for the development of this package. Here are some:

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i autoload-models

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

4.11 kB

Total Files

3

Last publish

Collaborators

  • bolencki13