首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

添加 coredata 出现 is a forward declaration 异常

2012-09-27 
添加coredata 出现 is a forward declaration 错误So open up Xcode and look for some file like App_Pre

添加 coredata 出现 is a forward declaration 错误

So open up Xcode and look for some file like App_Prefix.pch, by default it's in the Other Sources group. After the UIKit import statement, add the following line:#import <CoreData/CoreData.h>需要在  .pch文件中加入#import <CoreData/CoreData.h>

热点排行