Skip to content

Commit

Permalink
fixed issue rentzsch#98, added early return in keyPathsForValuesAffec…
Browse files Browse the repository at this point in the history
…tingValueForKey
  • Loading branch information
seanm committed Apr 24, 2012
1 parent be55733 commit 646ae57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/machine.m.motemplate
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const struct <$managedObjectClassName$>FetchedProperties <$managedObjectClassNam
if ([key isEqualToString:@"<$Attribute.name$>Value"]) {
NSSet *affectingKey = [NSSet setWithObject:@"<$Attribute.name$>"];
keyPaths = [keyPaths setByAddingObjectsFromSet:affectingKey];
return keyPaths;
}<$endif$><$endif$><$endforeach do$>

return keyPaths;
Expand Down

0 comments on commit 646ae57

Please sign in to comment.