Core Data code generation
Objective-C Swift Other
Clone or download
rentzsch Merge pull request #360 from protocool/feature/all-descriptions
[NEW] Expose an allAttributes and allRelationships accessors. [issue 328](#328) ([Trevor Squires](#360))
Latest commit db41d58 Jan 11, 2017
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 check-in `mogenerator` shared scheme Mar 5, 2016
momcom Support for “Uses Scalar Type”. Oct 5, 2016
ponso instancetype support. Aug 24, 2015
templates Correct Swift machine template for singleton (fetchOne…) fetch reques… Dec 30, 2016
test Template Updated With Latest OS X Swift 3 Changes Oct 3, 2016
.gitignore check-in `mogenerator` shared scheme Mar 5, 2016
.travis.yml [NEW] Swift 3 support. [Goncharov Vladimir](#347) Sep 26, 2016 [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 [DOC] looks better than README.markdown. Dec 19, 2016 [DOC] Move version history into its own file. Dec 19, 2016 Update to use DERIVED_FILE_DIR instea… Jul 24, 2015
mogenerator.h Support for “Uses Scalar Type”. Oct 5, 2016
mogenerator.m Expose allAttributes and allRelationships, related to #328 Jan 11, 2017
mogenerator_Prefix.pch Enabled Objective-C modules. Aug 24, 2015


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.31: Mon Oct 3 2016 download

Further history is listed in the Version History file.