我在iOS5中运行我的应用程序时收到以下警告
CoreData: warning: Relationship properties should be @dynamic, not ivars (entity foo, class foo, property bar). This will be an error in the future.
属性栏在类中声明为@dynamic。我想在它成为“未来的错误”之前解决这个问题。
答案 0 :(得分:3)
您应该使用Xcode生成MO子类。您不会从IDE生成的类中看到此错误。