我有一个名为NSManagedObject
的{{1}}子类,剩余的属性无法保存到核心数据中。但其他人还可以。
Record
以下是调试信息:
(entity:Record; id:0x8cc6d70 ;数据: { createdDate =“2013-11-28 02:27:38 +0000”; finishDate =“2013-12-31 02:27:38 +0000”; limitCount = 12; title =“标题”; updatedDate = nil; })
插入的@interface Record : NSManagedObject
@property (nonatomic, assign) int remaining;
@property (nonatomic, assign) int limitCount;
@property (nonatomic, retain) NSDate * finishDate;
@property (nonatomic, retain) NSDate * createdDate;
@property (nonatomic, retain) NSDate * updatedDate;
@property (nonatomic, retain) NSString * title;
@end
中没有“剩余”属性,为什么?