Automatically register XIBs if it exists for the matching cell name

This commit is contained in:
Roman Efimov
2013-08-21 09:27:30 -05:00
parent b4cc76808f
commit cc2cfe3ab8
2 changed files with 6 additions and 4 deletions

View File

@@ -24,10 +24,6 @@
//
_manager = [[RETableViewManager alloc] initWithTableView:self.tableView delegate:self];
// Register XIB file
//
[self.tableView registerNib:[UINib nibWithNibName:@"XIBTestCell" bundle:nil] forCellReuseIdentifier:@"XIBTestItem"];
// Map item to a cell
//
_manager[@"XIBTestItem"] = @"XIBTestCell";