Closed xinsight closed 4 years ago
Ah, silly me. The methods that provide headers and footers are part of UITableViewDelegate
not data source. So nothing to do with DiffableDataSource.
Please close out your issue @xinsight since it appears resolved.
Checklist
Expected Behavior
I'd like to show a header or footer view for a section of a table view.
Current Behavior
I'm able to use
DiffableDataSources
to create sections and add items to the section, and this generates cells, but I cannot figure out how to create a header or a footer view (e.g. aUITableViewHeaderFooterView
) for a section of the table view.For example , if I have: