自定义talbeviewcell

+ (instancetype)cellWithTableView:(UITableView *)tableView

{

    static NSString *ID = @"Cell";

    Cell *cell = [tableView dequeueReusableCellWithIdentifier:ID];

    if (cell == nil) {

        cell = [[Cell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:ID];

        

    }

    return cell;

}

 

posted @ 2014-08-30 12:51  oneBlackLee  阅读(247)  评论(0编辑  收藏  举报