https://github.com/YouXianMing
摘要: addChildViewControllerIf the new child view controller is already the child of a container view controller, it is removed from that container before b... 阅读全文
posted @ 2014-04-15 17:08 YouXianMing 阅读(5916) 评论(2) 推荐(1) 编辑
摘要: 适配屏幕其实很简单,但为了保持兼容性以及写的代码的通用性,以及最小的改动代码,本人按照如下的一种方式来适配,可以一劳永逸.1. 先定义几个宏,分辨表示应用可以使用区域的高度,屏幕可用区域的高度,屏幕的宽度2. 再看看如下图的一些描述3. 接下来看看适配的代码如何写#import "RootViewC... 阅读全文
posted @ 2014-04-15 13:15 YouXianMing 阅读(730) 评论(3) 推荐(1) 编辑
摘要: FastCodinghttps://github.com/nicklockwood/FastCodingA faster and more flexible binary file format replacement for NSCoding, Property Lists and JSON一个用... 阅读全文
posted @ 2014-04-15 09:47 YouXianMing 阅读(1234) 评论(0) 推荐(0) 编辑
摘要: 其实很简单,直接使用系统工具转换即可,以下是步骤:1. 你之前的项目是MRC的2. 里面有 release, dealloc 等.3. 开始转化4. 点击save转化完后,记得把工程重新设置成arc的. 阅读全文
posted @ 2014-04-15 08:52 YouXianMing 阅读(418) 评论(0) 推荐(0) 编辑