Created
February 13, 2014 15:52
-
-
Save dodikk/8977607 to your computer and use it in GitHub Desktop.
Return values to get default behaviour for UITableViewDelegate methods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath | |
{ | |
return -1; | |
} | |
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section | |
{ | |
return -1; | |
} | |
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section | |
{ | |
return -1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment