Skip to content

Instantly share code, notes, and snippets.

View weejayuk's full-sized avatar

Will Johnston weejayuk

  • Control Strategies
  • Alfriston, UK
View GitHub Profile
typedef BOOL (^BlockingRelationship)(id,NSString*);
@interface NSManagedObject (ExtendedManagedObject)
- (NSDictionary*) toDictionaryBlockingRelationships:(BOOL (^)(id obj,NSString *relationship))blockRelationship;
+ (NSManagedObject*) createManagedObjectFromDictionary:(NSDictionary*)dict
inContext:(NSManagedObjectContext*)context;
@end