Skip to content

Commit 2dff602

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

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ dataSource.titleForHeaderInSection = { dataSource, index in
108108
dataSource.titleForFooterInSection = { dataSource, indexPath in
109109
return dataSource.sectionModels[index].footer
110110
}
111+
112+
dataSource.canEditRowAtIndexPath = { dataSource, indexPath in
113+
return true
114+
}
115+
116+
dataSource.canMoveRowAtIndexPath = { dataSource, indexPath in
117+
return true
118+
}
111119
```
112120

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

0 commit comments

Comments
 (0)