摘要: 当在一个ViewController中添加一个子ViewController时,UI部分可以直接通过addSubView的方法添加,例如: 在一个ViewControllerA中添加ViewControllerB,可以[self.view addSubView:ViewControllerB.vie 阅读全文
posted @ 2016-04-08 00:46 ximenchuixie 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 当cell是用代码实现的时候用registerclass,当cell是用xib文件实现的时候用registernib 阅读全文
posted @ 2016-04-08 00:11 ximenchuixie 阅读(323) 评论(0) 推荐(0) 编辑