Hi again Harold:
I'll send you now a new RC version of Sensible TableView that handles all the background color issues for you automatically. You new code should look like this:
- (void)tableViewModel:(SCTableViewModel *) tableViewModel willDisplayCell:(SCTableViewCell *) cell forRowAtIndexPath:(NSIndexPath *) indexPath
{
// Set up the cell...
NSUInteger row = [indexPath row];
if( row == 0 )
{
cell.backgroundColor = [UIColor blackColor];
cell.textLabel.textColor = [UIColor whiteColor];
}
else
{
cell.backgroundColor = [UIColor whiteColor];
cell.textLabel.textColor = [UIColor blackColor];
}
}
Please tell me if the new version works well for you