mirror of
https://github.com/zhigang1992/MagicalRecord.git
synced 2026-04-29 04:25:46 +08:00
Added some warning info for recent checkin. Should only matter to a select few who tinker with the ObjC Runtime
This commit is contained in:
@@ -13,6 +13,11 @@ NSUInteger const kMagicalRecordImportMaximumAttributeFailoverDepth = 10;
|
||||
|
||||
@implementation NSObject (MagicalRecord_DataImport)
|
||||
|
||||
#warning If you implement valueForUndefinedKey: in any NSObject in your code, this may be the problem if something broke
|
||||
//TODO: This method needs to be:
|
||||
// 1) Renamed to MR_valueForUndefinedKey:
|
||||
// 2) swizzled in and out only when importing data.
|
||||
// This will be done in a really short update...stay tuned
|
||||
- (id) valueForUndefinedKey:(NSString *)key
|
||||
{
|
||||
return nil;
|
||||
|
||||
@@ -63,7 +63,6 @@ typedef void (^CoreDataBlock)(NSManagedObjectContext *context);
|
||||
@end
|
||||
|
||||
|
||||
|
||||
//Helper Functions
|
||||
NSDate * adjustDateForDST(NSDate *date);
|
||||
NSDate * dateFromString(NSString *value, NSString *format);
|
||||
|
||||
Reference in New Issue
Block a user