摘要: 自定义单元格如果是使用 IB 方式创建的,则需要手动加载,因为 XIB 上的 cell 不会自动加载第一种:使用应用程序束应用程序束 NSBundle:获得工程中所有的资源的路径,相当于当前工程的目录。//获得指定的xib中所有的视图NSArray * array = [[NSBundle main... 阅读全文
posted @ 2015-01-11 13:08 红红de 阅读(526) 评论(0) 推荐(1) 编辑
摘要: 1. 最常用的方法- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ UITableViewCell *cell = [tableView d... 阅读全文
posted @ 2015-01-11 13:01 红红de 阅读(366) 评论(0) 推荐(0) 编辑