Core Data code generation
Clone or download
Permalink
Failed to load latest commit information.
.github Added pull request & issue templates. Mar 27, 2016
MiscMerge Don’t check for failure by looking at the NSError Mar 22, 2016
categories Replaced RegexKitLite with NSRegularExpression. Aug 25, 2015
contributed templates Reverted PonsoTest to version on rentzsch/master Nov 30, 2011
ddcli instancetype support. Aug 24, 2015
installer Bump version to 1.29, copyright to 2015. Aug 20, 2015
mogenerator.xcodeproj Remove user-specific command line args Aug 5, 2018
momcom Support "Custom Class" for Transformable attributes: Aug 5, 2018
ponso instancetype support. Aug 24, 2015
templates Add entity level “additionalImports”, a comma-separated list of modul… Aug 9, 2018
test Specify path to 10.13 SDK Sep 22, 2017
.gitignore check-in `mogenerator` shared scheme Mar 5, 2016
.travis.yml Update travis config to specify Xcode 9 Sep 22, 2017
CONTRIBUTING.md [TYPO] Create-an-issue link Apr 6, 2016
LICENSE Add MIT LICENSE file to make it clear templates are under the same li… Jan 3, 2014
README.md Updated version history in README Aug 3, 2018
Version-History.md [DOC] Move version history into its own file. Dec 19, 2016
build-mogenerator-Info-plist.sh Update build-mogenerator-Info.plist.sh to use DERIVED_FILE_DIR instea… Jul 24, 2015
mogenerator.h Adds two booleans you can use in the templates to figure out does the… Jul 13, 2017
mogenerator.m Add entity level “additionalImports”, a comma-separated list of modul… Aug 9, 2018
mogenerator_Prefix.pch Enabled Objective-C modules. Aug 24, 2015

README.md

mogenerator

Visit the project's pretty homepage.

Here's mogenerator's elevator pitch:

mogenerator is a command-line tool that, given an .xcdatamodel file, will generate two classes per entity. The first class, _MyEntity, is intended solely for machine consumption and will be continuously overwritten to stay in sync with your data model. The second class, MyEntity, subclasses _MyEntity, won't ever be overwritten and is a great place to put your custom logic.

Want more detail? John Blanco has authored a detailed writeup about mogenerator.

Using mogenerator

Senseful wrote up a nice summary of mogenerator's command-line options.

Version History

v1.32: Wed Jun 20 2018

v1.31: Mon Oct 3 2016 download

Further history is listed in the Version History file.