Skip to content

Instantly share code, notes, and snippets.

@shto
Created March 14, 2014 17:21
Show Gist options
  • Save shto/9552487 to your computer and use it in GitHub Desktop.
Save shto/9552487 to your computer and use it in GitHub Desktop.
Cloner .h file
#import <CoreData/CoreData.h>
@interface NSManagedObject (Cloner)
- (NSManagedObject *)clone;
- (NSManagedObject *)cloneInContext:(NSManagedObjectContext *)differentContext;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment