摘要: 最近一段时间一直在做APP接口,总结一下APP接口开发过程中的注意事项:1、效率:接口访问速度APP有别于WEB服务,对服务器端要求是比较严格的,在移动端有限的带宽条件下,要求接口响应速度要快,所有在开发过程中尽量选择效率高的框架,PHP建议使用YAF框架。2、数据格式最好使用JSON格式数据,因为... 阅读全文
posted @ 2014-10-16 17:58 Uncle Joke 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 刚才V2ex上问了这么一个问题:http://www.v2ex.com/t/97577#reply7然后就随手搜了下 stackoverflow在iOS5的年代是有这么个API:1[[UIDevice currentDevice] setOrientation: UIInterfaceOrienta... 阅读全文
posted @ 2014-09-17 18:44 Uncle Joke 阅读(739) 评论(0) 推荐(0) 编辑
摘要: 第三方库名简介链接ACEcode editorhttps://github.com/ajaxorg/aceAppirater用户评分组件https://github.com/arashpayan/appiraterReachability网络连通测试https://github.com/tonymi... 阅读全文
posted @ 2014-09-17 18:22 Uncle Joke 阅读(255) 评论(0) 推荐(0) 编辑
摘要: http://hufeng825.github.io/2014/01/13/ios35/#more 阅读全文
posted @ 2014-09-16 18:02 Uncle Joke 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1 @implementation UIView (GetVCAdditions) 2 3 - (UIViewController *)GetiewController { 4 Class vcc = [UIViewController class]; 5 UIResponder... 阅读全文
posted @ 2014-09-16 17:57 Uncle Joke 阅读(225) 评论(0) 推荐(0) 编辑
摘要: NSArray 类定义的方法makeObjectsPerformSelector:@select(aMethod)简介:让数组中的每个元素 都调用 aMethodmakeObjectsPerformSelector:@select(aMethod) withObject:oneObject[... 阅读全文
posted @ 2014-09-16 17:54 Uncle Joke 阅读(186) 评论(0) 推荐(0) 编辑