- 博客(4)
- 收藏
- 关注
原创 ios 编译libx264,libfaac
x264 x264编译脚本 https://github.com/kewlbear/x264-ios 将build-x264.sh和x264放在同一级目录,如果脚本没有权限 chmod +x build-x264.sh添加权限 在执行脚本前需先安装编译前需先安装yasm-1.2.0 faac wget http://downloads.sourceforge.net/proje
2015-04-29 09:14:22
1088
原创 UISearchBar UISearchDisplayController
将searchBar和UITabelViewController可以实现如下图所示的搜索效果 但如果这样来写,在滚动tableview的时候,searchBar会也会随着tableview滚动,如果在tableview滚动的时候,searchBar固定,可以使用searchbar,UIViewcontroller和UITableView来实现 -(void)setupSearchBar
2015-03-19 17:01:14
438
原创 object-c runtime使用
最近在学习ios开发,尝试做个通讯录,使用了APAdress来读取系统的通信录,然后需要将通信录中的联系人转换为拼音并进行排序,最先想到的做法是取出APContact中的联系人名称,然后对这个名称进行排序,但这样做的话会导致整个排序代码职能给APContact用,如何使的这个排序代码可以给所有的类的用(此类中需要有特定的属性),这时可以用到object-c的运行时特性 通过iva
2015-03-19 16:50:24
340
原创 functionWithControlPoints的参数
Discussion The end points of the Bézier curve are automatically set to (0.0,0.0) and (1.0,1.0). The control points defining the Bézier curve are: [(0.0,0.0), (c1x,c1y), (c2x,c2y), (1.0,1.0)].
2015-03-01 19:37:37
682
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人