Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed an issue with the default template for transformable attributes #101

Closed
wants to merge 1 commit into from

2 participants

@wbyoung

Transformable attributes have type id, so there needs to be a space after the type name in order to complie properly.

@wbyoung wbyoung Fixed templates to work better with id types.
Transformable attributes have type id, so there needs to be a space after
the type name in order to complie properly.
eda7c29
@rentzsch
Owner

Thanks for the patch, the fix will be in 1.26.

@rentzsch rentzsch closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 7, 2012
  1. @wbyoung

    Fixed templates to work better with id types.

    wbyoung authored
    Transformable attributes have type id, so there needs to be a space after
    the type name in order to complie properly.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/machine.h.motemplate
View
4 templates/machine.h.motemplate
@@ -32,9 +32,9 @@ extern const struct <$managedObjectClassName$>FetchedProperties {<$foreach Fetch
<$foreach Attribute noninheritedAttributes do$>
<$if Attribute.hasDefinedAttributeType$>
<$if TemplateVar.arc$>
-@property (nonatomic, strong) <$Attribute.objectAttributeType$><$Attribute.name$>;
+@property (nonatomic, strong) <$Attribute.objectAttributeType$> <$Attribute.name$>;
<$else$>
-@property (nonatomic, retain) <$Attribute.objectAttributeType$><$Attribute.name$>;
+@property (nonatomic, retain) <$Attribute.objectAttributeType$> <$Attribute.name$>;
<$endif$>
<$if Attribute.hasScalarAttributeType$>
@property <$Attribute.scalarAttributeType$> <$Attribute.name$>Value;
Something went wrong with that request. Please try again.