会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Uncle Joke
博客园
首页
新随笔
联系
管理
订阅
2014年10月16日
关于APP接口设计
摘要: 最近一段时间一直在做APP接口,总结一下APP接口开发过程中的注意事项:1、效率:接口访问速度APP有别于WEB服务,对服务器端要求是比较严格的,在移动端有限的带宽条件下,要求接口响应速度要快,所有在开发过程中尽量选择效率高的框架,PHP建议使用YAF框架。2、数据格式最好使用JSON格式数据,因为...
阅读全文
posted @ 2014-10-16 17:58 Uncle Joke
阅读(398)
评论(0)
推荐(0)
2014年9月17日
强制旋转一个UIViewController
摘要: 刚才V2ex上问了这么一个问题:http://www.v2ex.com/t/97577#reply7然后就随手搜了下 stackoverflow在iOS5的年代是有这么个API:1[[UIDevice currentDevice] setOrientation: UIInterfaceOrienta...
阅读全文
posted @ 2014-09-17 18:44 Uncle Joke
阅读(751)
评论(0)
推荐(0)
Facebook Paper使用的第三方库
摘要: 第三方库名简介链接ACEcode editorhttps://github.com/ajaxorg/aceAppirater用户评分组件https://github.com/arashpayan/appiraterReachability网络连通测试https://github.com/tonymi...
阅读全文
posted @ 2014-09-17 18:22 Uncle Joke
阅读(271)
评论(0)
推荐(0)
2014年9月16日
用 instruments来检验你的app
摘要: http://hufeng825.github.io/2014/01/13/ios35/#more
阅读全文
posted @ 2014-09-16 18:02 Uncle Joke
阅读(117)
评论(0)
推荐(0)
通过当前view得到所在的viewcontroller
摘要: 1 @implementation UIView (GetVCAdditions) 2 3 - (UIViewController *)GetiewController { 4 Class vcc = [UIViewController class]; 5 UIResponder...
阅读全文
posted @ 2014-09-16 17:57 Uncle Joke
阅读(231)
评论(0)
推荐(0)
快速清除subviews
摘要: NSArray 类定义的方法makeObjectsPerformSelector:@select(aMethod)简介:让数组中的每个元素 都调用 aMethodmakeObjectsPerformSelector:@select(aMethod) withObject:oneObject[...
阅读全文
posted @ 2014-09-16 17:54 Uncle Joke
阅读(192)
评论(0)
推荐(0)
公告