1.0.1 • Published 5 years ago

autoload-models v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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