This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSDate *timenow=[NSDate date]; | |
NSLog(@"Date before date2dot net=%@",[timenow description]); | |
NSString *date2DotNet=[timenow dateToDotNet]; | |
NSLog(@"Dot net version of now = %@",date2DotNet); | |
timenow=[NSDate dateFromDotNet:date2DotNet]; | |
NSLog(@"Date back from date2dot net=%@",[timenow description]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef BOOL (^BlockingRelationship)(id,NSString*); | |
@interface NSManagedObject (ExtendedManagedObject) | |
- (NSDictionary*) toDictionaryBlockingRelationships:(BOOL (^)(id obj,NSString *relationship))blockRelationship; | |
+ (NSManagedObject*) createManagedObjectFromDictionary:(NSDictionary*)dict | |
inContext:(NSManagedObjectContext*)context; | |
@end |