2015年6月1日
摘要: 原文:http://www.cocoachina.com/ios/20140925/9755.html在iOS开发中经常遇到两个词Frame和bounds,本文主要阐述Frame和bound的区别,尤其是bound很绕,很难理解。一、首先,看一下公认的资料先看到下面的代码你肯定就明白了一些:1234... 阅读全文
posted @ 2015-06-01 21:35 whqfor 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.csdn.net/dizzthxl/article/details/9031255UIViewController initWithNibName这时候是延迟加载主要代码如下: ShowViewController* showMessage = [[Show... 阅读全文
posted @ 2015-06-01 09:46 whqfor 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.csdn.net/chaoyuan899/article/details/13291637tableView表格中的cell有重用机制,这是一个很好的东西,可以避免开辟很多的空间内存。但是有时候我们不想让它重用cell,,可以用以下的代码解决。将这个代码放在:- (UI... 阅读全文
posted @ 2015-06-01 09:36 whqfor 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.csdn.net/omegayy/article/details/7356823创建UITableViewController子类的实例后,IDE生成的代码中有如下段落:- (UITableViewCell *)tableView:(UITableView *)tabl... 阅读全文
posted @ 2015-06-01 09:04 whqfor 阅读(303) 评论(0) 推荐(0) 编辑