rentzsch.com: tales from the red shed

mogenerator v1.1

Code

I just pushed out mogenerator v1.1, which adds ObjC++ (.mm) support for human source files. News nuggets since I last talked about it:

  • Johan Kool and Mason Mark contributed great bug fixes. Thanks guys!

  • Turns out mixing machine-generated code, human-generated code and entity inheritance results in sticky batter. v1.0.5 solved all known issues that Mason and I could think up. For now.

  • I can’t believe I missed David Master’s excellent Getting started with mogenerator entry when he first posted it. David wrote a very readable guide, and his blog is gorgeous to boot. Thanks a bunch, David! For what it’s worth: a binary installer is still on my todo list.

  • Patrick Thomson wrote a nice blog entry about mogenerator. He says it saved him from giving up a Core Data. Whoa. Patrick: I obviously agree mogenerator makes Core Data a lot easier to work with, but Core Data would be worth using if even if you couldn’t. It’s that good.

  • Xcode integration continues to be a bummer. I put some serious time into it, but had to back off. Xcode simply doesn’t like the idea of one compiler invocation spitting out multiple files. Personally, right now I’m using .command files to kick off mogenerator invocations after I dirty my model file. That sucks — I’m working on something better.

  • Just Spotlight-ed my drive, and so far I’m using mogenerator in eight apps, with another two in the queue (one converted from pre-mogenerator when I was still using Xcode’s codegen, one new contract app). I think that makes me mogenerator’s biggest user/fan…

  • There’s more magic in store for mogenerator. I’ve been banging on a little project that I hope to roll out circa PSIG 100, and it ties in nicely with mogenerator.

Whew, I think that’s it. Merry Christmas!

Update: David Master updated his guide for mogenerator v1.1. Thanks, David!

Monday, December 25, 2006
12:00 AM