rentzsch/mogenerator
rentzsch/mogenerator has 3,013 GitHub stars and 384 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-11 07:38 UTC. Last push 2025-06-27.
Core Data code generation
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalmogenerator 
Visit the project's pretty homepage.
Here's mogenerator's elevator pitch:
mogeneratoris a command-line tool that, given an.xcdatamodelfile, 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
[NEW] Support for URL and UUID property types (Trevor Squires, original PR)
[NEW] Add support for "Uses Scalar Type" (Rok Gregorič, original PR)
[NEW] Add Swift generic
fetchRequest()to generated code (0xpablo, original PR)[NEW] Add nullability annotations for generated primitive accessors of optional, to-one relationships. (Michael Babin, original PR)
[NEW] Expose allAttributes and allRelationships (Trevor Squires, original PR)
[NEW] Add template booleans to identify custom attribute type use. (Aleksandar Vacić, original PR)
[NEW] Support "Custom Class" for Transformable attributes (Tomek Cejner, commit)
[NEW] Add parameter to ignore entities (Martin Kim Dung-Pham, original PR)
[CHANGE] Use
Datainstead ofNSDatawith Swift (Christopher Rogers, original PR)[CHANGE] Dropped
.pkgbinary releases. mac OS 10.14 Mojave won't install unsigned pkgs by default any more, and I'm not paying Apple $100/year so I can distribute open source binaries. Use Homebrew to install and update mogenerator binaries. (rentzsch)[CHANGE] Travis updates (Trevor Squires, commit, commit)
[FIX] Correct Swift machine template for singleton (fetchOne…) fetch request results. (Warren Burton, original PR)
Further history is listed in the Version History file.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,873 starspublic-apis/public-apis
A collective list of free APIs
498,237 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
452,669 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,367 stars