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.
Senseful wrote up a nice summary of mogenerator's command-line options.
v1.31: Mon Oct 3 2016 download
-
[NEW] Swift 3 support. (Goncharov Vladimir, Hardik, rentzsch)
-
[CHANGE] Add nullability to the primitive value. (Tom Carey)
-
[CHANGE] Allow for nullable collection properties. (Ibrahim Sha'ath)
-
[CHANGE] Mark
+entityInManagedObjectContext:
nullable. (Ibrahim Sha'ath) -
[DOC] Update link to Apple's Core Data Programming Guide. (Brian Schrader)
-
[FIX] Syntax error in Objective-C templates. (Dave Wood)
-
[TEST] Add Parent.orderedChildren ordered relationship. (rentzsch)
Further history is listed in the Version History file.