省去一切关于Three20的介绍
下载地址:https://github.com/facebook/three20
一.解压压缩包,将src目录copy到工程中.
二.命令行进入到src目录的script.
三.执行命令导入库
注:
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
下载地址: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