2018-12-20

////表格数据源方法

//-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

//{

//    SecondOneCell * cell = [tableView dequeueReusableCellWithIdentifier:tbvcell];

//

//    if (indexPath.section == 0) {

//      _TableView.rowHeight = 260;

//    }

//    if (indexPath.section == 1) {

//        _TableView.rowHeight = 200;

//    }

//    if (indexPath.section == 2) {

//        _TableView.rowHeight = 200;

//    }

//    if (indexPath.section == 3) {

//        _TableView.rowHeight = 200;

//    }

//

//    return cell;

//}

////表格点击的方法

//-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{

//    //  点击单元格的时候取消选中单元格

//    [tableView deselectRowAtIndexPath:indexPath animated:YES];

//}

//-(CGFloat)tableView:(UITableView*)tableView heightForHeaderInSection:(NSInteger)section{

//

//    return 0.1;

//

//}

//-(UIView*)tableView:(UITableView*)tableView viewForHeaderInSection:(NSInteger)section{

//

//    return nil;

//

//}

//-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{

//    return 0.1;

//}

//-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{

//    return nil;

//}

//

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 一、简介 <<UITableView(或简单地说,表视图)的一个实例是用于显示和编辑分层列出的信息的一种手段 <<...
    无邪8阅读 10,706评论 3 3
  • 概述在iOS开发中UITableView可以说是使用最广泛的控件,我们平时使用的软件中到处都可以看到它的影子,类似...
    liudhkk阅读 9,093评论 3 38
  • 版权声明:未经本人允许,禁止转载. 1. TableView初始化 1.UITableView有两种风格:UITa...
    萧雪痕阅读 2,920评论 2 10
  • Swift1> Swift和OC的区别1.1> Swift没有地址/指针的概念1.2> 泛型1.3> 类型严谨 对...
    cosWriter阅读 11,148评论 1 32
  • 废话不多说,直接上干货 ---------------------------------------------...
    小小赵纸农阅读 3,441评论 0 15