{"id":943,"url":"https://github.com/rentzsch/mogenerator","last_synced_at":"2025-05-14T05:10:33.480Z","repository":{"id":524780,"uuid":"153329","full_name":"rentzsch/mogenerator","owner":"rentzsch","description":"Core Data code generation","archived":false,"fork":false,"pushed_at":"2024-10-02T20:09:08.000Z","size":1975,"stargazers_count":3030,"open_issues_count":28,"forks_count":393,"subscribers_count":93,"default_branch":"master","last_synced_at":"2025-05-11T02:49:04.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rentzsch.github.com/mogenerator","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rentzsch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-03-18T06:26:48.000Z","updated_at":"2025-04-21T18:15:53.000Z","dependencies_parsed_at":"2022-08-03T03:15:46.570Z","dependency_job_id":"9ee30191-7bdf-4907-ad6e-b291bdfa59a5","html_url":"https://github.com/rentzsch/mogenerator","commit_stats":{"total_commits":531,"total_committers":94,"mean_commits":5.648936170212766,"dds":0.512241054613936,"last_synced_commit":"2d7f9b452eaa951f84304caa196585992ff50acf"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rentzsch%2Fmogenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rentzsch%2Fmogenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rentzsch%2Fmogenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rentzsch%2Fmogenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rentzsch","download_url":"https://codeload.github.com/rentzsch/mogenerator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076849,"owners_count":22010611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:15:35.166Z","updated_at":"2025-05-14T05:10:33.459Z","avatar_url":"https://github.com/rentzsch.png","language":"Objective-C","funding_links":[],"categories":["Core Data","Objective-C  Stars 1000以内排名整理","Objective-C","HarmonyOS","etc"],"sub_categories":["Linter","Other free courses","Windows Manager"],"readme":"# mogenerator \u003ca href=\"https://travis-ci.org/rentzsch/mogenerator\"\u003e\u003cimg src=\"https://travis-ci.org/rentzsch/mogenerator.svg?branch=master\"\u003e\u003c/a\u003e\n\nVisit the [project's pretty homepage](http://rentzsch.github.com/mogenerator).\n\nHere's mogenerator's elevator pitch:\n\n\u003e `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.\n\nWant more detail? John Blanco has authored a [detailed writeup about mogenerator](http://raptureinvenice.com/getting-started-with-mogenerator/).\n\n## Using mogenerator\n\nSenseful wrote up a [nice summary of mogenerator's command-line options](http://stackoverflow.com/questions/3589247/how-do-the-mogenerator-parameters-work-which-can-i-send-via-xcode).\n\n## Version History\n\n### v1.32: Wed Jan 30 2019 [download](https://github.com/rentzsch/mogenerator/releases/tag/1.32)\n\n* [NEW] Support for URL and UUID property types ([Trevor Squires](https://github.com/tomekc/mogenerator/pull/1), [original PR](https://github.com/rentzsch/mogenerator/pull/370))\n\n* [NEW] Add support for \"Uses Scalar Type\" ([Rok Gregorič](https://github.com/rokgregoric), [original PR](https://github.com/rentzsch/mogenerator/pull/352))\n\n* [NEW] Add Swift generic `fetchRequest()` to generated code ([0xpablo](https://github.com/0xpablo), [original PR](https://github.com/rentzsch/mogenerator/pull/358))\n\n* [NEW] Add nullability annotations for generated primitive accessors of optional, to-one relationships. ([Michael Babin](https://github.com/mbabin), [original PR](https://github.com/rentzsch/mogenerator/pull/363))\n\n* [NEW] Expose allAttributes and allRelationships ([Trevor Squires](https://github.com/protocool), [original PR](https://github.com/rentzsch/mogenerator/pull/360))\n\n* [NEW] Add template booleans to identify custom attribute type use. ([Aleksandar Vacić](https://github.com/radianttap), [original PR](https://github.com/rentzsch/mogenerator/pull/369))\n\n* [NEW] Support \"Custom Class\" for Transformable attributes ([Tomek Cejner](https://github.com/tomekc), [commit](https://github.com/rentzsch/mogenerator/commit/3fd2a5aa8492db2c0036750d897e51d1df2a1e69))\n\n* [NEW] Add parameter to ignore entities ([Martin Kim Dung-Pham](https://github.com/q231950), [original PR](https://github.com/rentzsch/mogenerator/pull/378))\n\n* [CHANGE] Use `Data` instead of `NSData` with Swift ([Christopher Rogers](https://github.com/ChristopherRogers), [original PR](https://github.com/rentzsch/mogenerator/commit/64dbbbb1db72adadaf70b5de0228896c8fbcb5b7))\n\n* [CHANGE] Dropped `.pkg` binary 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](https://brew.sh) to install and update mogenerator binaries. (rentzsch)\n\n* [CHANGE] Travis updates ([Trevor Squires](https://github.com/protocool), [commit](https://github.com/rentzsch/mogenerator/commit/e347643f72fa045333145d4b5af16716ae7df463), [commit](https://github.com/rentzsch/mogenerator/commit/b100abed5f5fb6083b2c486a18bdce125995c261))\n\n* [FIX] Correct Swift machine template for singleton (fetchOne…) fetch request results. ([Warren Burton](https://github.com/warrenburton), [original PR](https://github.com/rentzsch/mogenerator/pull/359))\n\n\n\nFurther history is listed in the [Version History](Version-History.md) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frentzsch%2Fmogenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frentzsch%2Fmogenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frentzsch%2Fmogenerator/lists"}