mogenerator
« Back to VersTracker
Description:
Generate Objective-C & Swift classes from your Core Data model
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: core-data ios swift objective-c code-generation
Install: brew install mogenerator
About:
mogenerator is a command-line tool that automates the creation of managed object subclasses for Core Data. It generates both Objective-C and Swift classes, ensuring your code stays in sync with your data model changes. This eliminates boilerplate and reduces errors when working with Core Data in iOS and macOS applications.
Key Features:
  • Generates Objective-C and Swift managed object subclasses
  • Supports custom code generation templates
  • Automatically handles model versioning and updates
  • Creates human-generated and machine-generated files to preserve custom code
Use Cases:
  • Generating type-safe model classes for a new Core Data project
  • Updating existing classes after modifying the Core Data schema
  • Enforcing consistent coding standards across data models
Alternatives:
  • Xcode Built-in Editor – Xcode can generate classes, but mogenerator offers better customization and workflow automation.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 11:41pm 0 VERSION_BUMP ab552195