mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Register section header classes for table views
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
#import <Contacts/Contacts.h>
|
||||
#import "ContactsTableViewController.h"
|
||||
#import "SectionHeaderView.h"
|
||||
|
||||
#import "UIViewController+RiotSearch.h"
|
||||
|
||||
@@ -95,6 +96,9 @@
|
||||
self.contactsTableView.dataSource = contactsDataSource; // Note: dataSource may be nil here
|
||||
|
||||
[self.contactsTableView registerClass:ContactTableViewCell.class forCellReuseIdentifier:ContactTableViewCell.defaultReuseIdentifier];
|
||||
|
||||
[self.contactsTableView registerClass:SectionHeaderView.class
|
||||
forHeaderFooterViewReuseIdentifier:SectionHeaderView.defaultReuseIdentifier];
|
||||
|
||||
// Hide line separators of empty cells
|
||||
self.contactsTableView.tableFooterView = [[UIView alloc] init];
|
||||
|
||||
Reference in New Issue
Block a user