project_files/HedgewarsMobile/Classes/StatsPageViewController.m
branchios-develop
changeset 13166 ba5c794adae3
parent 12872 00215a7ec5f5
equal deleted inserted replaced
13164:eefd6d066768 13166:ba5c794adae3
   124     cell.selectionStyle = UITableViewCellSelectionStyleNone;
   124     cell.selectionStyle = UITableViewCellSelectionStyleNone;
   125 
   125 
   126     return cell;
   126     return cell;
   127 }
   127 }
   128 
   128 
   129 -(CGFloat) tableView:(UITableView *)aTableView heightForHeaderInSection:(NSInteger)section {
   129 - (CGFloat)tableView:(UITableView *)aTableView heightForHeaderInSection:(NSInteger)section {
   130     return (section == 0) ? 160 : 40;
   130     return (section == 0) ? 160 : 40;
   131 }
   131 }
   132 
   132 
   133 -(UIView *)tableView:(UITableView *)aTableView viewForHeaderInSection:(NSInteger)section {
   133 -(UIView *)tableView:(UITableView *)aTableView viewForHeaderInSection:(NSInteger)section {
   134     if (section == 0) {
   134     if (section == 0) {
   144         return header;
   144         return header;
   145     } else
   145     } else
   146         return nil;
   146         return nil;
   147 }
   147 }
   148 
   148 
   149 -(CGFloat) tableView:(UITableView *)aTableView heightForFooterInSection:(NSInteger)section {
   149 - (CGFloat)tableView:(UITableView *)aTableView heightForFooterInSection:(NSInteger)section {
   150     return aTableView.rowHeight + 30;
   150     return aTableView.rowHeight + 30;
   151 }
   151 }
   152 
   152 
   153 -(UIView *)tableView:(UITableView *)aTableView viewForFooterInSection:(NSInteger)section {
   153 -(UIView *)tableView:(UITableView *)aTableView viewForFooterInSection:(NSInteger)section {
   154     if (section == 2) {
   154     if (section == 2) {