reveal工具的使用
2017-08-25 本文已影响0人
XX开发从开始到放弃
在Xcode中的使用方法:
1、首先安装好Reveal,下载地址:http://download.revealapp.com/Reveal.app.zip
2、在Reveal软件的菜单栏中选择【Help】-【Show Reveal Library In Finder】,会显示Reveal的FrameWork和dylib文件,需要在Xcode项目中引入。
3、在Xcode项目中配置如下几个地方:
1)添加Reveal的Framework文件,将Framework文件拖到项目导航面板中,在弹窗中选择Add to Target和Copy Item if need。(这个操作会把dylib文件复制到您的项目中,如果reveal更新了,那需要重新操作一遍来覆盖旧文件)

2)在项目配置区域,选择Build Phases,在Link Binary With Libraries节点中删除Reveal库。

3) 选择Build Setting,在右上角搜索框中输入关键字:Other Link,会自动帅选出Linking节点中的Other Linker Flags属性节点,输入内容:

3、Xcode的配置完成,现在选择一个iphone模拟器开始运行您的项目。运行成功后,切换到Reveal程序界面。在左上角No Connection那个下拉框中选择您的项目名称。

4:Reveal的三维显示
