File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -98,26 +98,12 @@ let dataSource = RxTableViewSectionedReloadDataSource<SectionOfCustomData>(
98
98
3 ) Customize closures on the dataSource as needed:
99
99
- ` titleForHeaderInSection `
100
100
- ` titleForFooterInSection `
101
- - ` canEditRowAtIndexPath `
102
- - ` canMoveRowAtIndexPath `
103
101
- etc
104
102
105
103
``` swift
106
104
dataSource.titleForHeaderInSection = { dataSource, index in
107
105
return dataSource.sectionModels [index].header
108
106
}
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
- }
121
107
```
122
108
123
109
4 ) Define the actual data as an Observable sequence of CustomData objects and bind it to the tableView
You can’t perform that action at this time.
0 commit comments