File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,9 @@ - (id)sectionAtIndex:(NSInteger)index
117117
118118- (void )setupTableView
119119{
120- UINib *sectionHeaderNib = [UINib nibWithNibName: NSStringFromClass ([KMSectionHeaderView class ]) bundle: nil ];
120+ NSString *bundlePath = [[NSBundle mainBundle ] pathForResource: @" KMAccordionTableViewController" ofType: @" bundle" ];
121+ NSBundle *bundle = [NSBundle bundleWithPath: bundlePath];
122+ UINib *sectionHeaderNib = [UINib nibWithNibName: NSStringFromClass ([KMSectionHeaderView class ]) bundle: bundle];
121123 [self .tableView registerNib: sectionHeaderNib forHeaderFooterViewReuseIdentifier: SectionHeaderViewIdentifier];
122124 [self .tableView setBounces: NO ];
123125 [self .tableView setSeparatorStyle: UITableViewCellSeparatorStyleNone];
You can’t perform that action at this time.
0 commit comments