equal
deleted
inserted
replaced
163 cell.selectionStyle = UITableViewCellSelectionStyleNone; |
163 cell.selectionStyle = UITableViewCellSelectionStyleNone; |
164 |
164 |
165 return cell; |
165 return cell; |
166 } |
166 } |
167 |
167 |
168 -(CGFloat) tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { |
168 - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { |
169 return 45.0; |
169 return 45.0; |
170 } |
170 } |
171 |
171 |
172 -(UIView *)tableView:(UITableView *)aTableView viewForHeaderInSection:(NSInteger)section { |
172 -(UIView *)tableView:(UITableView *)aTableView viewForHeaderInSection:(NSInteger)section { |
173 CGRect frame = CGRectMake(0, 0, self.view.frame.size.width * 70/100, 30); |
173 CGRect frame = CGRectMake(0, 0, self.view.frame.size.width * 70/100, 30); |
180 theView.autoresizingMask = UIViewAutoresizingFlexibleWidth; |
180 theView.autoresizingMask = UIViewAutoresizingFlexibleWidth; |
181 [theView addSubview:theLabel]; |
181 [theView addSubview:theLabel]; |
182 return theView; |
182 return theView; |
183 } |
183 } |
184 |
184 |
185 -(CGFloat) tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section { |
185 - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section { |
186 return IS_IPAD() ? 40 : 30; |
186 return IS_IPAD() ? 40 : 30; |
187 } |
187 } |
188 |
188 |
189 -(UIView *)tableView:(UITableView *)aTableView viewForFooterInSection:(NSInteger)section { |
189 -(UIView *)tableView:(UITableView *)aTableView viewForFooterInSection:(NSInteger)section { |
190 NSInteger height = IS_IPAD() ? 40 : 30; |
190 NSInteger height = IS_IPAD() ? 40 : 30; |