Are there any plans for the UITableViewDiffableDataSource class to expose the viewForHeaderInSection method?

This is a question for any Apple engineer who is able to answer it.


The UITableViewDiffableDataSource class exposes UITableViewDataSource's tableView(_:titleForHeaderInSection:) method which allows us to specify the title of a given section but it does not expose UITableViewDataSource's tableView(_:viewForHeaderInSection:) method which allows to give a custom look to the section header.


Are there any plans for UITableViewDiffableDataSource to expose UITableViewDataSource's tableView(_:viewForHeaderInSection:) method or an alternative method which will allow us to customise section headers in UITableViews?


(I am targeting iOS 13.4 and developing in Xcode 11.4.1 for what it's worth.)

tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? is available in UITableViewDelegate

Thank you so much for the response 🙏 I can't believe I missed this!

Are there any plans for the UITableViewDiffableDataSource class to expose the viewForHeaderInSection method?
 
 
Q