Skip to content

Commit ae6b155

Browse files
committed
Update the README.md
- #225 Apply code review
1 parent dcbdb4c commit ae6b155

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ let dataSource = RxTableViewSectionedReloadDataSource<SectionOfCustomData>(
104104
dataSource.titleForHeaderInSection = { dataSource, index in
105105
return dataSource.sectionModels[index].header
106106
}
107+
108+
dataSource.titleForFooterInSection = { dataSource, indexPath in
109+
return dataSource.sectionModels[index].footer
110+
}
107111
```
108112

109113
4) Define the actual data as an Observable sequence of CustomData objects and bind it to the tableView

0 commit comments

Comments
 (0)