We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f37841 commit 22dd80aCopy full SHA for 22dd80a
README.md
@@ -78,6 +78,17 @@ class ViewController: FHDiffableTableViewController<Section, Item> {
78
```
79
>This is the most simple implementation of a FHDiffableTableViewController.
80
81
+<br>
82
+
83
+The cell selection can be implemented like that:
84
85
+```swift
86
+override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
87
+ let item = dataSource.itemIdentifier(for: indexPath)
88
+ /*do your actions with the selected item*/
89
+}
90
+```
91
92
### Customize Cells
93
94
In order to use custom cells, the `cellProvider` property must be overritten. This works exactly the same for table view and collection view.
0 commit comments