- July 26, 2025
- Mins Read
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.
[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 Data
instead of NSData
with Swift (Christopher Rogers, original PR)
[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 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.
NavigationKit is a lightweight library which makes SwiftUI navigation super easy to use. 💻 Installation 📦 Swift Package Manager Using Swift Package Manager, add ...
An alternative SwiftUI NavigationView implementing classic stack-based navigation giving also some more control on animations and programmatic navigation. NavigationStack Installation ...
With SwiftUI Router you can power your SwiftUI app with path-based routing. By utilizing a path-based system, navigation in your app becomes ...
This package takes SwiftUI's familiar and powerful NavigationStack API and gives it superpowers, allowing you to use the same API not just ...