@@ -37,8 +37,8 @@ open class TableViewSectionedDataSource<Section: SectionModelType>
37
37
configureCell: @escaping ConfigureCell ,
38
38
titleForHeaderInSection: @escaping TitleForHeaderInSection = { _, _ in nil } ,
39
39
titleForFooterInSection: @escaping TitleForFooterInSection = { _, _ in nil } ,
40
- canEditRowAtIndexPath: @escaping CanEditRowAtIndexPath = { _, _ in false } ,
41
- canMoveRowAtIndexPath: @escaping CanMoveRowAtIndexPath = { _, _ in false } ,
40
+ canEditRowAtIndexPath: @escaping CanEditRowAtIndexPath = { _, _ in true } ,
41
+ canMoveRowAtIndexPath: @escaping CanMoveRowAtIndexPath = { _, _ in true } ,
42
42
sectionIndexTitles: @escaping SectionIndexTitles = { _ in nil } ,
43
43
sectionForSectionIndexTitle: @escaping SectionForSectionIndexTitle = { _, _, index in index }
44
44
) {
@@ -55,8 +55,8 @@ open class TableViewSectionedDataSource<Section: SectionModelType>
55
55
configureCell: @escaping ConfigureCell ,
56
56
titleForHeaderInSection: @escaping TitleForHeaderInSection = { _, _ in nil } ,
57
57
titleForFooterInSection: @escaping TitleForFooterInSection = { _, _ in nil } ,
58
- canEditRowAtIndexPath: @escaping CanEditRowAtIndexPath = { _, _ in false } ,
59
- canMoveRowAtIndexPath: @escaping CanMoveRowAtIndexPath = { _, _ in false }
58
+ canEditRowAtIndexPath: @escaping CanEditRowAtIndexPath = { _, _ in true } ,
59
+ canMoveRowAtIndexPath: @escaping CanMoveRowAtIndexPath = { _, _ in true }
60
60
) {
61
61
self . configureCell = configureCell
62
62
self . titleForHeaderInSection = titleForHeaderInSection
0 commit comments