mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-05-13 20:06:55 +08:00
Automatically register XIBs if it exists for the matching cell name
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user