GSD_WeiXin
GSD_WeiXin copied to clipboard
1.当计算cell高度时 程序奔溃
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { NSLog@(@"%@",indexPath); id model = self.modelArray[indexPath.row];
NSLog(@"%@",model);
return [_tableView cellHeightForIndexPath:indexPath model:model keyPath:@"choiceKaKaModel" cellClass:[RuanTableViewCellChoicenessCell class] contentViewWidth:ScreenWidth];_
}
log
2016-04-20 18:09:57.249 DYwardrobe[33955:1073366] <NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0} 2016-04-20 18:09:57.250 DYwardrobe[33955:1073366] <RuanChoiceModel: 0x7f96859b0010> 2016-04-20 18:10:04.685 DYwardrobe[33955:1073366] <NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0} 2016-04-20 18:10:04.686 DYwardrobe[33955:1073366] <RuanChoiceModel: 0x7f96859b0010>