Add section

This commit is contained in:
Roman Efimov
2013-06-04 10:19:11 -05:00
parent 59e6a4f4be
commit d64e46ab6b
2 changed files with 3 additions and 0 deletions

View File

@@ -12,5 +12,6 @@
@interface RetractableViewController : UITableViewController
@property (strong, readonly, nonatomic) RETableViewManager *manager;
@property (strong, readonly, nonatomic) RETableViewSection *section;
@end

View File

@@ -18,6 +18,8 @@
{
[super viewDidLoad];
_manager = [[RETableViewManager alloc] initWithTableView:self.tableView];
_section = [RETableViewSection section];
[_manager addSection:_section];
}
@end