当以下在iphone模拟器(3.0 OS)中运行时,我收到上述错误:
@interface Routine : NSManagedObject {
}
@property (nonatomic) BOOL active;
@implementation Routine
@dynamic active
@end
Run Code Online (Sandbox Code Playgroud)
如您所见,我正在继承NSManagedObject,因为我正在使用Core Data.在我的数据模型中,"active"是Boolean类型的选项属性.
我在这做错了什么?
谢谢!