Skip to content

Transformable relationships generates with missing space #97

AlbertTong opened this Issue Mar 19, 2012 · 5 comments

5 participants


Noticed the missing space after "id":

Should be "id extraFields" instead of "idextraFields". This happened to several other relationships of Transformable type.

Running Xcode 4.3.1 with 5.1 SDK and 1.25 version of mogenerator. If this can't be resolved, please let me know how to uninstall 1.25 so I can install 1.24 again. Thanks!


NSObject *something to idsomething


having this issue too with a Transformable UIImage attribute

@RobotK RobotK added a commit to RobotK/mogenerator that referenced this issue Mar 27, 2012
@RobotK RobotK [FIX] Missing space in transformable relationships - #97. e98a686
RobotK commented Mar 27, 2012

I fixed this by adding a space to my machine.h.motemplate file. (It's found in "~/Library/Application Support/mogenerator" unless you're specifying a different location.)

Change line 35 from

@property (nonatomic, strong) <$Attribute.objectAttributeType$><$$>;


@property (nonatomic, strong) <$Attribute.objectAttributeType$> <$$>;

And line 37 from

@property (nonatomic, retain) <$Attribute.objectAttributeType$><$$>;


@property (nonatomic, retain) <$Attribute.objectAttributeType$> <$$>;

Note that you can modify these files without having to upgrade (or downgrade) your mogenerator install.


@RobotK Thanks! - just updated to 1.2.5 and came searching here after my colleague mentioned it was something he had to manually fix


@RobotK Thanks. I implemented those changes on my templates and worked like a charm. Closing the issue.

@AlbertTong AlbertTong closed this Mar 30, 2012
@ddrccw ddrccw pushed a commit to ddrccw/mogenerator that referenced this issue Jan 20, 2014
@RobotK RobotK [FIX] Missing space in transformable relationships - #97. 025ccfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.