Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transformable relationships generates with missing space #97

Closed
AlbertTong opened this issue Mar 19, 2012 · 5 comments
Closed

Transformable relationships generates with missing space #97

AlbertTong opened this issue Mar 19, 2012 · 5 comments

Comments

@AlbertTong
Copy link

Noticed the missing space after "id":

http://cl.ly/3a3W3z2M1N2Q0f3G2110

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!

@postmechanical
Copy link

NSObject *something to idsomething

@ryanmaxwell
Copy link

having this issue too with a Transformable UIImage attribute

RobotK pushed a commit to RobotK/mogenerator that referenced this issue Mar 27, 2012
@RobotK
Copy link

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$><$Attribute.name$>;

to

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

And line 37 from

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

to

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

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

@ghost
Copy link

ghost commented Mar 27, 2012

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

@AlbertTong
Copy link
Author

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

rentzsch added a commit that referenced this issue Apr 12, 2012
[FIX] Missing space in transformable relationships. issue #97 (Kris Markel)
ddrccw pushed a commit to ddrccw/mogenerator that referenced this issue Jan 20, 2014
ddrccw pushed a commit to ddrccw/mogenerator that referenced this issue Jan 20, 2014
[FIX] Missing space in transformable relationships. issue rentzsch#97 (Kris Markel)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants