Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fixes `colorTestAttribute`'s attribute value class on `SingleEntityWithNoRelationships` #679

wants to merge 1 commit into from

2 participants


Fixes colorTestAttribute's attribute value class on SingleEntityWithNoRelationships so Mogenerator will correctly generate this entity when testing.

All tests pass after change.

Joshua Greene Fixes `colorTestAttribute` attribute value class so Mogenerator will …
…correctly create entities.

All tests pass.

This is working with another fix now. Thanks for the PR!

@tonyarnold tonyarnold closed this
@JRG-Developer JRG-Developer deleted the JRG-Developer:Fix_Single_Entity_No_Relations_Color_Attribute branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 18, 2014
  1. Fixes `colorTestAttribute` attribute value class so Mogenerator will …

    Joshua Greene authored
    …correctly create entities.
    All tests pass.
This page is out of date. Refresh to see the latest.
2  Tests/Fixtures/TestModel.xcdatamodeld/TestModel.xcdatamodel/contents
@@ -70,7 +70,7 @@
<attribute name="booleanTestAttribute" optional="YES" attributeType="Boolean" syncable="YES"/>
<attribute name="colorTestAttribute" optional="YES" attributeType="Transformable" syncable="YES">
- <entry key="attributeValueClassName" value="*Color"/>
+ <entry key="attributeValueClassName" value="UIColor"/>
<attribute name="dateTestAttribute" optional="YES" attributeType="Date" syncable="YES"/>
8 Tests/Fixtures/TestModel/_SingleEntityWithNoRelationships.h
@@ -35,7 +35,7 @@ extern const struct SingleEntityWithNoRelationshipsAttributes {
-@class NSObject;
+@class UIColor;
@@ -92,7 +92,7 @@ extern const struct SingleEntityWithNoRelationshipsAttributes {
-@property (nonatomic, strong) id colorTestAttribute;
+@property (nonatomic, strong) UIColor* colorTestAttribute;
@@ -285,8 +285,8 @@ extern const struct SingleEntityWithNoRelationshipsAttributes {
-- (id)primitiveColorTestAttribute;
-- (void)setPrimitiveColorTestAttribute:(id)value;
+- (UIColor*)primitiveColorTestAttribute;
+- (void)setPrimitiveColorTestAttribute:(UIColor*)value;
Something went wrong with that request. Please try again.