上图:
Paste_Image.png Paste_Image.png Paste_Image.pngCouponCell* cell = [tableView dequeueReusableCellWithIdentifier:@"CouponCellNew"];
if(!cell){
cell = [[[NSBundle mainBundle] loadNibNamed:@"CouponCell" owner:self options:nil] lastObject];
}
此方法只适用于tableview, collectionview目前暂测不适用。
网友评论