Skip to content

Commit

Permalink
Fixed indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
MeXx committed Aug 26, 2015
1 parent b317ac2 commit 7942420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/machine.m.motemplate
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ const struct <$managedObjectClassName$>UserInfo <$managedObjectClassName$>UserIn
fetchRequest.predicate = [NSPredicate predicateWithFormat:@"<$Relationship.inverseRelationship.name$> <$if Relationship.inverseRelationship.isToMany$>CONTAINS<$else$>==<$endif$> %@", self];
fetchRequest.sortDescriptors = sortDescriptors;
<$if indexedNoninheritedAttributes.@count > 0$>
<$if TemplateVar.literals$>
<$if TemplateVar.literals$>
NSArray *indexedIDs = @[<$foreach Attribute indexedNoninheritedAttributes do$>self.<$Attribute.name$><$if AttributeIndex < indexedNoninheritedAttributes.@count - 1$>, <$endif$><$endforeach do$>];
<$else$>
<$else$>
NSArray *indexedIDs = [NSArray arrayWithObjects:<$foreach Attribute indexedNoninheritedAttributes do$>self.<$Attribute.name$>, <$endforeach do$>nil];
<$endif$>
<$endif$>
NSString *cacheName = [NSString stringWithFormat:@"mogenerator.<$managedObjectClassName$>.%@.<$Relationship.name$>.%@", indexedIDs, sortDescriptors];
<$endif$>
return [[NSFetchedResultsController alloc] initWithFetchRequest:fetchRequest
Expand Down

0 comments on commit 7942420

Please sign in to comment.