用NSBUNDLE自定义一个重复使用的TABLEVIEWCELL
ProductInfoTableViewCell *cell = (ProductInfoTableViewCell* )[tableView dequeueReusableCellWithIdentifier:kProductCellID];
//UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kProductCellID];
if (cell == nil) {
cell = [[[NSBundle mainBundle] loadNibNamed:@"ProductInfoTableViewCell" owner:self options:nil] lastObject];
}
posted on 2011-08-06 20:41 Cheney Shen 阅读(311) 评论(0) 收藏 举报
浙公网安备 33010602011771号