Wara
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
- Fork it ( https://github.com/[my-github-username]/wara/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request