diff --git a/templates/machine.h.motemplate b/templates/machine.h.motemplate index 8a89512d..37ed3edb 100644 --- a/templates/machine.h.motemplate +++ b/templates/machine.h.motemplate @@ -10,7 +10,7 @@ @end @interface _<$managedObjectClassName$> : <$customSuperentity$> {} -+ (id)newInManagedObjectContext:(NSManagedObjectContext*)moc_; ++ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_; - (<$managedObjectClassName$>ID*)objectID; <$foreach Attribute noninheritedAttributes do$> diff --git a/templates/machine.m.motemplate b/templates/machine.m.motemplate index 74e58dfa..ebce6604 100644 --- a/templates/machine.m.motemplate +++ b/templates/machine.m.motemplate @@ -8,7 +8,7 @@ @implementation _<$managedObjectClassName$> -+ (id)newInManagedObjectContext:(NSManagedObjectContext*)moc_ { ++ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_ { return [NSEntityDescription insertNewObjectForEntityForName:@"<$name$>" inManagedObjectContext:moc_]; }