- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *simpleTableIdentifier = @"SimpleTableItem";
SimpleeTableCell *cell = [tableView dequeueReusableCellWithIdentifier:simpleTableIdentifier];
if (cell == nil) {
NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"SimpleTableCell" owner:self options:nil];
cell = [nib objectAtIndex:0];
}
cell.TitleLabel.text = [tableData objectAtIndex:indexPath.row];
cell.PlaceLabel.text = [placeData objectAtIndex:indexPath.row];
cell.imageView.image = [UIImage imageNamed:[thumbnails objectAtIndex:indexPath.row]];
cell.RankingsLabel.text = [rankingsData objectAtIndex:indexPath.row];
cell.StatusLabel.text = [statusData objectAtIndex:indexPath.row];
cell.DistanceLabel.text = [distanceData objectAtIndex:indexPath.row];
return cell;
}
我该如何解决这个错误?