AX ERROR: Could not find my mock parent, most likely I am stale 不及格的程序员

AX ERROR: Could not find my mock parent, most likely I am stale

使用设计好的cell做为表头视图,控制出现的log,挺有意思。

 1 - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
 2 {
 3     
 4     IoriTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"DataDetailHeadCell"];
 5     cell.ownerTableView = tableView;
 6     [cell updateCellContent:[(DataDetailDataSource*)dataSource headArray]];
 7     cell.selectionStyle = UITableViewCellSelectionStyleNone;
 8     return cell;    
 9 
10 }
原文地址:https://www.cnblogs.com/ioriwellings/p/2889263.html