Skip to content

IVnaBo/ExpandCell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpandCell

单元格的伸展与收缩 示例

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    ProblemTitleModel * tM = self.exp_Arr[section];
    if (tM.isOpened) {
        return 1;
    }else{
        return 0;
    }
    
}

- (void)clickHeadView:(NSInteger)section
{
 //刷新整组数据...
 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:section];

 [self.exp_tab reloadSections:indexSet withRowAnimation:UITableViewRowAnimationFade];
}

About

单元格的伸展与收缩

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors