Skip to content

Commit 0d76c8a

Browse files
committed
README code example fix
1 parent ece2cee commit 0d76c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class ViewController: FHDiffableTableViewController<Section, Item> {
6161
override var cellProvider: UITableViewDiffableDataSource<Section, Item>.CellProvider {
6262
return { tableView, indexPath, item in
6363
let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath)
64-
cell?.textLabel?.text = item.title
64+
cell.textLabel?.text = item.title
6565
return cell
6666
}
6767
}

0 commit comments

Comments
 (0)