http://blog.csdn.net/yohunl/article/details/19619167
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
NSInteger row = indexPath.row;
static NSString *cellString = @"CommonTableViewCell";
CommonTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellString];
if (cell == nil) {
NSArray *nibArr = [[NSBundle mainBundle]loadNibNamed:cellString owner:self options:nil];
cell = (CommonTableViewCell *)[nibArr firstObject];
[cell setValue:cellString forKey:@"reuseIdentifier"];
cell.accessoryType = UITableViewCellAccessoryNone;
}
cell.title.text = [tempDict objectForKey:@"title"];
cell.content.text = [tempDict objectForKey:@"content"];
return cell;
}

原文:http://www.cnblogs.com/vokie/p/4897107.html