Skip to content

Commit c2d0978

Browse files
committed
Readme changes
1 parent de0464d commit c2d0978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The repo contains a demo app in the *Example* sub-folder that demonstrates visua
3636
var data = PassthroughSubject<[Person], Never>()
3737

3838
data
39-
.receive(subscriber: tableView.rowsSubscriber(cellIdentifier: "Cell", cellType: PersonCell.self, cellConfig: { cell, indexPath, model in
39+
.subscribe(subscriber: tableView.rowsSubscriber(cellIdentifier: "Cell", cellType: PersonCell.self, cellConfig: { cell, indexPath, model in
4040
cell.nameLabel.text = model.name
4141
}))
4242
```
@@ -49,7 +49,7 @@ data
4949
var data = PassthroughSubject<[Section<Person>], Never>()
5050

5151
data
52-
.receive(subscriber: tableView.sectionsSubscriber(cellIdentifier: "Cell", cellType: PersonCell.self, cellConfig: { cell, indexPath, model in
52+
.subscribe(subscriber: tableView.sectionsSubscriber(cellIdentifier: "Cell", cellType: PersonCell.self, cellConfig: { cell, indexPath, model in
5353
cell.nameLabel.text = model.name
5454
}))
5555
```

0 commit comments

Comments
 (0)