Skip to content

Commit df9f56d

Browse files
committed
Small fixes of documentation.
1 parent ede8588 commit df9f56d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Table and Collection view data sources
2424
Writing table and collection view data sources is tedious. There is a large number of delegate methods that need to be implemented for the simplest case possible.
2525

2626
RxSwift helps alleviate some of the burden with a simple data binding mechanism:
27-
1) Turn your data into an Observable stream
27+
1) Turn your data into an Observable sequence
2828
2) Bind the data to the tableView/collectionView using one of:
2929
- `rx_itemsWithDataSource(:protocol<RxTableViewDataSourceType, UITableViewDataSource>)`
3030
- `rx_itemsWithCellIdentifier(:String)`
@@ -104,7 +104,7 @@ dataSource.titleForHeaderInSection = { ds, index in
104104
}
105105
```
106106

107-
4) Define the actual data as an Observable stream of CustomData objects and bind it to the tableView
107+
4) Define the actual data as an Observable sequence of CustomData objects and bind it to the tableView
108108
```swift
109109
let sections = [
110110
SectionOfCustomData(header: "First section", items: [CustomData(anInt: 0, aString: "zero", aCGPoint: CGPoint.zero), CustomData(anInt: 1, aString: "one", aCGPoint: CGPoint(x: 1, y: 1)) ]),
@@ -120,7 +120,7 @@ Observable.just(sections)
120120
### Animations
121121
To implement animations with RxDataSources, the same steps are required as with non-animated data, execept:
122122
- SectionOfCustomData needs to conform to `AnimatableSectionModelType`
123-
- dataSource needs to be an instance of `RxTableViewSectionedAnimatedDataSource` or `RxTableViewSectionedAniamtedDataSource`
123+
- dataSource needs to be an instance of `RxTableViewSectionedAnimatedDataSource` or `RxTableViewSectionedAnimatedDataSource`
124124

125125

126126

0 commit comments

Comments
 (0)