- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
if(section > 1)
return CELL_HEADER_TWO_HEIGHT;
return CELL_HEADER_ONE_HEIGHT;
}
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
return 1;
}
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
UIView *view=[[UIView alloc] initWithFrame:CGRectZero];
return [view autorelease];
}
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
UIView *view=[[UIView alloc] initWithFrame:CGRectZero];
return [view autorelease];
}
if(section > 1)
return CELL_HEADER_TWO_HEIGHT;
return CELL_HEADER_ONE_HEIGHT;
}
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
return 1;
}
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
UIView *view=[[UIView alloc] initWithFrame:CGRectZero];
return [view autorelease];
}
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
UIView *view=[[UIView alloc] initWithFrame:CGRectZero];
return [view autorelease];
}