title: UItableView Section Header View with Xib Error - Swift
body: <p>I try to implement Section Header with Xib File. I create a Xib View and attend UITableViewHeaderFooterView to this view . When I run the App , it gives me error without any description. Where is the problem ?</p>
  
  <p>Thanks in advance.</p>
  
  <pre><code>tableView.register(UINib(nibName: "EventViewCell", bundle: nil), forCellReuseIdentifier: "EventViewCell")
  tableView.register(UINib(nibName: "EventCellSectionHeader", bundle: nil), forHeaderFooterViewReuseIdentifier: "EventCellSectionHeader")
  
  
  func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -&gt; UIView? {
  
      let cell = tableView.dequeueReusableHeaderFooterView(withIdentifier: "EventCellSectionHeader") as! EventCellSectionHeader
      cell.headerName.text = "aa"
      return cell
  }
  
  class EventCellSectionHeader: UITableViewHeaderFooterView {
      @IBOutlet var headerName: UILabel!  
  }
  </code></pre>
  
  <p><strong>libc++abi.dylib: terminating with uncaught exception of type NSException</strong></p>