Skip to content

Instantly share code, notes, and snippets.

@gonzalezreal
Created October 24, 2012 06:49
Show Gist options
  • Save gonzalezreal/3944442 to your computer and use it in GitHub Desktop.
Save gonzalezreal/3944442 to your computer and use it in GitHub Desktop.
@interface TGRManagedObject : NSManagedObject
+ (NSString *)entityName;
+ (NSFetchRequest *)fetchRequest;
+ (id)insertNewObjectInManagedObjectContext:(NSManagedObjectContext *)context;
+ (id)importFromDictionary:(NSDictionary *)dictionary inManagedObjectContext:(NSManagedObjectContext *)context;
- (void)importValuesFromDictionary:(NSDictionary *)dictionary;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment