Custom mogenerator templates to work with NSManagedObject category from S2MToolbox
- Install mogenerator
brew install mogenerator
- Clone the templates in the location of your choice. i.e
~/.mogenerator/templates
- Install CoreData spec from S2MToolbox by adding
pod 'S2MToolbox/CoreData'
to yourPodfile
- run mogenerator with the option
--template-var s2madditions=true