I am making the table title from XIB, however I am continuing to crash to match the key value values on my labels in the header on this line.
UIView *headerView = [tableView dequeueReusableHeaderFooterViewWithIdentifier:@"MileageEntryTableHeaderView"];
In my view, DidLoad I call
[_tableView registerNib:[UINib nibWithNibName:@"MileageEntryTableHeaderView" bundle:nil] forHeaderFooterViewReuseIdentifier:@"MileageEntryTableHeaderView"];
then in my doing - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)sectionI have
UIView *headerView = [tableView dequeueReusableHeaderFooterViewWithIdentifier:@"MileageEntryTableHeaderView"];
return headerView;
My tags in xib are standard tags. I place them in my .h and linked them in my xib from the file owner. (right-click file owner, drag the corresponding label). What exactly causes my failure here?
source
share