mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-06-19 18:24:13 +08:00
Add section
This commit is contained in:
@@ -12,5 +12,6 @@
|
||||
@interface RetractableViewController : UITableViewController
|
||||
|
||||
@property (strong, readonly, nonatomic) RETableViewManager *manager;
|
||||
@property (strong, readonly, nonatomic) RETableViewSection *section;
|
||||
|
||||
@end
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
{
|
||||
[super viewDidLoad];
|
||||
_manager = [[RETableViewManager alloc] initWithTableView:self.tableView];
|
||||
_section = [RETableViewSection section];
|
||||
[_manager addSection:_section];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user