Skip to content

Commit dcbdb4c

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

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -98,26 +98,12 @@ let dataSource = RxTableViewSectionedReloadDataSource<SectionOfCustomData>(
9898
3) Customize closures on the dataSource as needed:
9999
- `titleForHeaderInSection`
100100
- `titleForFooterInSection`
101-
- `canEditRowAtIndexPath`
102-
- `canMoveRowAtIndexPath`
103101
- etc
104102

105103
```swift
106104
dataSource.titleForHeaderInSection = { dataSource, index in
107105
return dataSource.sectionModels[index].header
108106
}
109-
110-
dataSource.titleForFooterInSection = { dataSource, indexPath in
111-
return dataSource.sectionModels[index].footer
112-
}
113-
114-
dataSource.canEditRowAtIndexPath = { dataSource, indexPath in
115-
return true
116-
}
117-
118-
dataSource.canMoveRowAtIndexPath = { dataSource, indexPath in
119-
return true
120-
}
121107
```
122108

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

0 commit comments

Comments
 (0)