Skip to content

Commit

Permalink
Merge pull request rentzsch#108 from seanm/mogenerator
Browse files Browse the repository at this point in the history
---

fixed issue rentzsch#98
  • Loading branch information
rentzsch committed May 10, 2012
2 parents 7560833 + 08710f2 commit 75e0de7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mogenerator.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#import "mogenerator.h"
#import "RegexKitLite.h"

static NSString *kTemplateVar = @"TemplateVar";
static NSString * const kTemplateVar = @"TemplateVar";
NSString *gCustomBaseClass;
NSString *gCustomBaseClassForced;

Expand Down
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 75e0de7

Please sign in to comment.