When I use coredata in my project everything is ok before ios9. the code is like this
@interface BBImage : NSManagedObject
@property (nonatomic, retain) NSDate * create_date;
@property (nonatomic, retain) NSString * data_path;
@property (nonatomic, retain) NSNumber * height;
@property (nonatomic, retain) NSString * key;
@property (nonatomic, retain) NSNumber * width;
@end
but when i run it in ios9 , i get an error :"BBImage" is not a subclass of NSManagedObject. I didnot know what should i do to reslove it. I've used previous versions of the class name, if I change the class name version of the data will be lost before.