title: Implementing a custom table section header via Storyboard and new Xib
body: <p>Here is what I have done:</p>
  
  <p>I created a custom <code>xib</code> file that has a small UIView used for a custom table section header.
  I classed the custom <code>xib</code> file.</p>
  
  <p>I want to add this to a tableView as the header. I have looked at a few resources, but they seem to be either outdated or missing information.</p>
  
  <p>Looking in the documentation, I see a reference to adding a custom header with the following instructions:</p>
  
  <blockquote>
    <p>To make the table view aware of your header or footer view, you need to register it. You do this using the registerNib:forCellReuseIdentifier: or registerClass:forCellReuseIdentifier: method of UITableView.</p>
  </blockquote>
  
  <p>When I added a tableView to my storyboard view, it was easy to assign it a reuse identifier within XCode. I was even able to create a custom cell <code>xib</code> file and it also had a spot for a reuse identifier within XCode. </p>
  
  <p>When I created the custom UIView for the section header, it did not have an entry for reuse identifier. Without this, I have no idea how to use <code>registerNib:forCellReuseIdentifier</code>.</p>
  
  <p>More information:
  I have a storyboard scene that has a <code>tableView</code> inside. The <code>tableView</code> is of a custom class that is linked and the <code>tableView</code> object has an outlet in the parent view's <code>ViewController</code> file.</p>
  
  <p>The parent <code>ViewController</code> is both the <code>UITableViewDataSourceDelegate</code> and <code>UITableViewDelegate</code>. Again, I was able to implement the custom cells with no issue. I can't even modify the header in any way besides the title. </p>
  
  <p>I tried calling the method <code>[[self tableHeaderView] setBackgroundColor:[UIColor clearColor]];</code> from the custom <code>tableView</code> class and nothing happens. I tried using this method in the parent <code>ViewController</code> class by using the outlet name like so:
  <code>[[self.tableOutlet tableHeaderView] setBackgroundColor:[UIColor clearColor]];</code></p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>EDIT: (Can't change background to transparent)</p>
  
  <pre><code>- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
  
      HeaderView *headerView = [self.TableView dequeueReusableHeaderFooterViewWithIdentifier:@"tableHeader"];
  
      // Set Background color
      [[headerView contentView] setBackgroundColor:[UIColor clearColor]];
  
      // Set Text
      headerView.headerLabel.text = [self.sectionArray objectAtIndex:section];
  
      return headerView;
  }
  </code></pre>