Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static NSString *SectionHeaderViewIdentifier = @"SectionHeaderViewIdentifier";
- [self.tableView registerNib:[UINib nibWithName:@"SectionHeaderView" bundle:nil] forHeaderFooterViewReuseIdentifier:SectionHeaderViewIdentifier];
- - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSinteger)section {
- SectionHeaderViewClass *sectionHeaderView = (SectionHeaderView *)[tableView dequeueReusableHeaderFooterViewWithIdentifier:SectionHeaderViewIdentifier];
- // Do stuff...
- return sectionHeaderView;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement