rentzsch/mogenerator

Core Data code generation

3,016

stars

613

commits

Objective-C

primary language

Jun 27, 2025

updated

rentzsch.github.com/mogenerator

README

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 Jan 30 2019 download

Further history is listed in the Version History file.

Contributors

(top 30 of 65)

rentzsch

368 commits

nikita-zhuk

43 commits

seanm

27 commits

atomicbird

23 commits

rentzsch/mogenerator

Core Data code generation

3,016

stars

613

commits

Objective-C

primary language

Jun 27, 2025

updated

rentzsch.github.com/mogenerator

README

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 Jan 30 2019 download

Further history is listed in the Version History file.

Contributors

(top 30 of 65)

rentzsch

368 commits

nikita-zhuk

43 commits

seanm

27 commits

atomicbird

23 commits

Languages

Objective-C

87.4%

Rich Text Format

7.1%

Swift

3.6%

C

1.1%