手動導入第三方庫PNChart文件夾,無法運行,出現兩種錯誤:
第一種錯誤,出現Unknown type name “CGFloat”
解決方法如圖:
20160223173144603.png
第二種錯誤,導入頭文件報錯
下載UICountingLabel
https://github.com/dataxpress/UICountingLabel
解壓后把UICountingLabel的.m和.h文件拖入工程,把報錯的#import頭文件換為#import"UICountingLabel.h"