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:
Saul Mora
2011-11-27 23:51:50 -07:00
parent 326a86a543
commit 2fbb5e7251
2 changed files with 5 additions and 1 deletions

View File

@@ -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;

View File

@@ -63,7 +63,6 @@ typedef void (^CoreDataBlock)(NSManagedObjectContext *context);
@end
//Helper Functions
NSDate * adjustDateForDST(NSDate *date);
NSDate * dateFromString(NSString *value, NSString *format);