Core Data:Receiver type ‘NSManagedObjectContext’ for class is a forward declaration
2014-06-11 13:08
549 查看
在使用core Data时出现如题 错误,已在项目中加入了Coredata.framework,最终在stackoverflow上找到答案,原来要在App_Prefix.pch 中加入
问题解决!
http://stackoverflow.com/questions/2032818/adding-core-data-to-existing-iphone-project[/code]
#import <CoreData/CoreData.h>
问题解决!
http://stackoverflow.com/questions/2032818/adding-core-data-to-existing-iphone-project[/code]
转载:http://www.cnblogs.com/mybkn/archive/2012/04/27/2472892.html
相关文章推荐
- Core Data:Receiver type ‘NSManagedObjectContext’ for class is a forward declaration
- Core Data:Receiver type ‘NSManagedObjectContext’ for class is a forward declaration
- Receiver XXX type for instance message is a forward declaration
- receiver type *** for instance message is a forward declaration
- 报错"Receiver 'EntitlementEntity' type for instance message is a forward declaration"
- Receiver 'ClassName' for class message is a forward declaration
- Receiver type 'CALayer' for instance message is a forward declaration编译错误解决办法
- Receiver XXX type for instance message is a forward declaration
- Receiver type ‘X’ for instance message is a forward declaration
- Receiver type ‘X’ for instance message is a forward declaration
- Receiver XXX type for instance message is a forward declaration
- Receiver type 'CALayer' for instance message is a forward declaration编译错误解决办法
- 【iOS】receiver type *** for instance message is a forward declaration
- Implicit declaration of function 'NSFileTypeForHFSTypeCode' is invalid in C99
- spring data jpa 错误 Not an managed type: class java.lang.Object
- Receiver type for instance message is a forward
- The method setClass(Context, Class<?>) in the type Intent is not applicable for the arguments (GameV
- The method setClass(Context, Class<?>) in the type Intent is not applicable for the arguments (GameV
- iphone:Core Data:Where does a Managed Object Context Come From?
- The method setClass(Context, Class<?>) in the type Intent is not applicable for the问题