Xcode – Customised UITableViewHeaderFooterView registering causes crash
Created a custom UITableViewHeaderFooterView: class TableSectionHeader: UITableViewHeaderFooterView { let title = UILabel() override init(reuseIdentifier: String?) { super.init(reuseIdentifier: reuseIdentifier) configureContents() } required init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") } func configureContents() { title.translatesAutoresizingMaskIntoConstraints = false contentView.addSubview(title) // Center the…