美文网首页
第一篇简书

第一篇简书

作者: 愁死我了 | 来源:发表于2016-07-08 10:30 被阅读0次

    第一篇简书

    还不是很清楚 简书的编写规范 作为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;

    '''

    相关文章

      网友评论

          本文标题:第一篇简书

          本文链接:https://www.haomeiwen.com/subject/qrhcrttx.html