-
Notifications
You must be signed in to change notification settings - Fork 395
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
machine .h files should forward declare classes when attributeValueClassName is used #11
Comments
Actually, just noticed that with 1.16 using my custom template fails with this message: Caught: NSUnknownKeyException: [<NSAttributeDescription 0x1118f0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key hasTransformableAttributeType. |
Figure out any solution to this? |
My colleague paugus fixed this bug in his branch. Would be great if you could review and merge. |
Which commit? This one? That diff is pretty confusing. |
Whoa, that one is confusing... perhaps due to our being new to git (ugh, it's UI is awful). I've created my own branch, and manually merged his changes. This looks better: |
Thanks! Closing. |
We've been using an old mogenerator and just tried 1.16. I notice that it's still not forward declaring classes that are specified for transformable-type attributes using attributeValueClassName.
In our custom templates, we added this to solve the problem:
<$foreach Attribute noninheritedAttributes do$><$if Attribute.hasTransformableAttributeType$>@Class <$Attribute.objectAttributeType$>;<$endif$>
Could it be added?
The text was updated successfully, but these errors were encountered: