引用第三方PNChart画图表出现Unknown type na

2016-04-18  本文已影响279人  深蓝_S

手动导入第三方库PNChart文件夹,无法运行,出现两种错误:
第一种错误,出现Unknown type name “CGFloat”
解决方法如图:

20160223173144603.png

第二种错误,导入头文件报错
下载UICountingLabel
https://github.com/dataxpress/UICountingLabel

解压后把UICountingLabel的.m和.h文件拖入工程,把报错的#import头文件换为#import"UICountingLabel.h"

上一篇 下一篇

猜你喜欢

热点阅读