Capítulo 9: Desafio de Ouro

Definir altura

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
CGFloat height = 0;

if([indexPath row] < [[[BNRItemStore sharedStore] allItems] count]) {
height
= 60;
} else {
height
= 44;
}

return height;
}

mudar TAMANHO DA FONTE

if([indexPath row] < [[[BNRItemStore sharedStore] allItems] count]) {
[[cell textLabel] setText:@"No more items!"];
}else{
[[cell textLabel] setText:[p description]];
cell
.textLabel.font = [UIFont systemFontOfSize:20];

}

Adicione um fundo

- (void)viewDidLoad
{
UIImage *image = [UIImage imageNamed:@"background.png"];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
self.tableView.backgroundView = imageView;
}