我一直在努力Core Data 感叹所以我决定去工作这个this Apple Core Data tutorial。我在本教程中的要点是要求我建立迄今为止已经放在一起的项目。所以我在本教程中目前是right here。当我建立这个项目我收到以下错误:使用ARC构建Apple Core Data Tutorial的错误
Type of property 'managedObjectContext' ('NSManagedObjectContext *') does not match type of ivar 'managedObjectContext' ('MSManagedObject *__strong')
RootViewController.m
Ivar is declared here
这就是我在错误的窗口我得到。
这里是什么我的文件看起来像,
RootViewController.h http://pastie.org/4111206
RootViewController.m http://pastie.org/4111216
AppDelegate.h http://pastie.org/4111222
AppDelegate.m http://pastie.org/4111227
感谢您指出了我。当我回到家时,我会给你说的一个尝试,然后将问题标记为已回答。感谢写得很好的回复。 – Chris
@Chris我的荣幸,让我知道你是否遇到过任何问题。 (这听起来像是相当古老的示例代码,所以如果还有其他问题在等待,我不会感到惊讶。) –