添加Three20到项目中

省去一切关于Three20的介绍

下载地址:https://github.com/facebook/three20

一.解压压缩包,将src目录copy到工程中.

二.命令行进入到src目录的script.

三.执行命令导入库

python ttmodule.py -p /your_project_path/project.xcodeproj Three20 --xcode-version=4


注:
1.--xcode-version:Set the xcode version you plan to open this project in. By default uses xcodebuild to determine your latest Xcode version.

2.如果遇到打死找不到头文件,悠Other Linker Flags为-all_load

> 1. Double click the project in the left hand pane
> 2. Click the "Build" at the top
> 3. Find "Other Linker Flags" (tip: use Search box)
> 4. Add the "-all_load" flag

> Without it, the class categories were not loaded, and the additions to
> UIViewController did not register.

> Hope this helps someone else


参考:
http://ugrv5h1t.i.sohu.com/blog/view/200606083.htm
http://groups.google.com/group/three20/browse_thread/thread/f07a0301283cdee5
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值