Your code needs to be something like this:
CustomCell *cell = (CustomCell *)[tableView dequeueReusableCellWithIdentifier:@"CellIdentifier"];
if (cell == nil) {
cell = [[[CustomCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"CellIdentifier"] autorelease];
cell.delegate = self;
}
NSDictionary *temp = [tmp objectAtIndex:indexPath.row];
cell.descriptionLabel.text = [temp objectForKey:@"value"];
I'm assuming tmp
is an array and you want the value from the array based on the cell's indexPath.row
.