diff --git a/Sources/UIKit/TableViewDiffableDataSource.swift b/Sources/UIKit/TableViewDiffableDataSource.swift index 12c4c17..67ce2d7 100644 --- a/Sources/UIKit/TableViewDiffableDataSource.swift +++ b/Sources/UIKit/TableViewDiffableDataSource.swift @@ -94,6 +94,28 @@ open class TableViewDiffableDataSource String? { + return nil + } + + /// Returns the title for the specified section's footer. + /// + /// - Parameters: + /// - tableView: A table view instance managed by `self`. + /// - section: An index of section. + /// + /// - Returns: The title for the specified section's footer, or `nil` for no title. + open func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? { + return nil + } + /// Returns a cell for row at specified index path. /// /// - Parameters: