Skip to content
Browse files

Fix to test for not arc

  • Loading branch information...
1 parent 99ec596 commit 6aff9fd9f242315d52b972bd3550978dd5872cd9 @danielctull danielctull committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/machine.m.motemplate
View
2 templates/machine.m.motemplate
@@ -195,7 +195,7 @@ const struct <$managedObjectClassName$>FetchedProperties <$managedObjectClassNam
<$if Relationship.isToMany$>
- (NSFetchedResultsController *)new<$Relationship.name.initialCapitalString$>FetchedResultsControllerWithSortDescriptors:(NSArray *)sortDescriptors {
NSFetchRequest *fetchRequest = [NSFetchRequest new];
- <$if !TemplateVar.frc$>[fetchRequest autorelease];<$endif$>
+ <$if !TemplateVar.arc$>[fetchRequest autorelease];<$endif$>
fetchRequest.entity = [NSEntityDescription entityForName:@"<$Relationship.destinationEntity.name$>" inManagedObjectContext:self.managedObjectContext];
fetchRequest.predicate = [NSPredicate predicateWithFormat:@"<$Relationship.inverseRelationship.name$> <$if Relationship.inverseRelationship.isToMany$>CONTAINS<$else$>==<$endif$> %@", self];
fetchRequest.sortDescriptors = sortDescriptors;

0 comments on commit 6aff9fd

Please sign in to comment.
Something went wrong with that request. Please try again.