Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rentzsch/mogenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
rentzsch committed Oct 8, 2009
2 parents 9c1d431 + 25ad62d commit c00a70f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/machine.h.motemplate
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@end

@interface _<$managedObjectClassName$> : <$customSuperentity$> {}
+ (id)newInManagedObjectContext:(NSManagedObjectContext*)moc_;
+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_;
- (<$managedObjectClassName$>ID*)objectID;

<$foreach Attribute noninheritedAttributes do$>
Expand Down
2 changes: 1 addition & 1 deletion templates/machine.m.motemplate
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@implementation _<$managedObjectClassName$>

+ (id)newInManagedObjectContext:(NSManagedObjectContext*)moc_ {
+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc_ {
return [NSEntityDescription insertNewObjectForEntityForName:@"<$name$>" inManagedObjectContext:moc_];
}

Expand Down

0 comments on commit c00a70f

Please sign in to comment.