Wara

Build Status Coverage Status Code Climate

Wara generate a scapegoat for objects of CoreData.

You are using CoreDate, if you want to change the Entity, it is necessary to create a sub-context.However, it takes time be used to manage the sub-context.On the other hand, it is necessary to undo to the default context if one context.

Wara is used to generate an object to make changes without the operation of the context if you want to change the entity.

Installation

Add this line to your application's Gemfile:

gem 'wara'

And then execute:

$ bundle

Or install it yourself as:

$ gem install wara

Usage

create objective-c code

$ wara -m MyDataModel.xcdatamodeld/MyDataModel.xcdatamodel

create objective-c code

$ wara -m MyDataModel.xcdatamodeld/MyDataModel.xcdatamodel --swift

Contributing

  1. Fork it ( https://github.com/[my-github-username]/wara/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request