I am using TQMultistageTableView in my project which is really awesome job you have done!
I want to set section header colour to Black on Table header expand (willOpenHeaderAtSection) When Table Header collapse reset to orginal colour i.e., White Colour ( willCloseHeaderAtSection)
- (UIView *)mTableView:(TQMultistageTableView *)mTableView viewForHeaderInSection:(NSInteger)section;
{
RegionHeaderView *headerCell = [[RegionHeaderView alloc] init];
headerCell.regionTitleLabel.text = [[_regions objectAtIndex:section] valueForKey:@"locationName"];
headerCell.regionTitleLabel.font = [UIFont fontWithName:MH_FONT_AVENIRLIGHT size:MH_SCREEN_HEIGHT/38];
return headerCell;
}
#pragma mark - Header Open Or Close
- (void)mTableView:(TQMultistageTableView *)mTableView willOpenHeaderAtSection:(NSInteger)section
{
isRowSelected = NO;
NSLog(@"mTableView %@",mTableView);
}
- (void)mTableView:(TQMultistageTableView *)mTableView willCloseHeaderAtSection:(NSInteger)section
{
isSectionSelected = NO;
[mTableView.tableView reloadData];
}
Your Feedback will be highly appreciated.