Consegui identificar o problema.
No arquivo ViewController.swift, na função que utiliza viewForHeaderInSection eu me esqueci de passar o .configuraView() na variavel headerView, após ajuste codigo ficou como abaixo:
extension ViewController: UITableViewDelegate {
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
if section == 0 {
let headerView = Bundle.main.loadNibNamed("HomeTableViewHeader", owner: self, options: nil)?.first as? HomeTableViewHeader
headerView?.configuraView() //LINHA DO CODIGO QUE NAO TINHA FEITO
return headerView
}
return nil
}
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return 300
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.phone ? 400 : 470
}
}