第一篇简书
还不是很清楚 简书的编写规范 作为iOS开发工程师,第一眼就喜欢上了简书,美观大方简洁
当然,以后写代码随笔是少不了的,还不清楚 代码区域别人为什么会变色
等等问题
找到了
static NSString * cellid=@"TwoTableViewCell";
TwoTableViewCell * cell=[tableView dequeueReusableCellWithIdentifier:cellid];
if(cell==nil)
{
cell= (TwoTableViewCell*)[[TwoTableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellid];
cell.selectionStyle=UITableViewCellSelectionStyleNone;
}
if (ARRAYHASVALUE(_dataArr)) {
[cell layoutCellWithCell:cell withData:_dataArr withIndexPath:indexPath];
}
return cell;
'''