Skip to content

Commit

Permalink
Make tableView:viewForHeaderInSection and `tableView:viewForFooterI…
Browse files Browse the repository at this point in the history
…nSection` open
  • Loading branch information
adam-leitgeb committed Nov 20, 2020
1 parent 6cf26d9 commit 42d9aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/DataSource/DataSource+TableView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extension DataSource: UITableViewDataSource {

// MARK: - Headers

public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
open func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
guard let headerModel = sections[section].header else {
return nil
}
Expand All @@ -32,7 +32,7 @@ extension DataSource: UITableViewDataSource {

// MARK: - Footer

public func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
open func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
guard let footerModel = sections[section].footer else {
return nil
}
Expand Down

0 comments on commit 42d9aab

Please sign in to comment.