I fill my UITableView with data from a MySQL-DB.
If my table does not have any entries, I want to display an empty table view.
Can I do it this way:
- (UITableView *)returnNumberOfRowsForSection { (=> Pseudocode)
if (Table is empty) {
return 0;
} else {
return (Entry Count);
}
}
Yes, you can. Body must contain 30 characters.