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

5个步骤配置coreplot

2012-08-21 
五个步骤配置coreplotFive Steps to CorePlot1. Copy the CorePlotSDK directory to ~/Library/SDKs/2. Ad

五个步骤配置coreplot
Five Steps to CorePlot

1. Copy the CorePlotSDK directory to ~/Library/SDKs/

2. Add to your project's .PCH file:

#import <CorePlot/CorePlot.h>

3. Open Project -> Edit Project Settings and for All Configurations:

3a. Add to Additional SDKS:

$HOME/Library/SDKs/CorePlotSDK/${PLATFORM_NAME}.sdk

3b. Add to Other Linker Flags:

-ObjC -all_load -lCorePlot

4. Add the QuartzCore framework to the project.

5. Add a CPGraph to your application.

最后不要忘记“项目Build Info中,C/C++ Compiler Version必须使用LLVM GCC 4.2,而不能使用GCC 4.2”!

热点排行