Skip to content

Commit 9cd27bd

Browse files
authored
Merge pull request #102 from kareman/patch-1
Readme: small fixes
2 parents 8a3284d + 73c6375 commit 9cd27bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Observable.collection(from: laps)
3535
})
3636
```
3737

38-
The above prints out "X laps" each time a lap is added or removed from the database. If you set `synchronousStart` to `true` (the default value), the first element will be emitted synchronously - e.g. when you're binding UI you might not be able for an asynchronous notification to come through.
38+
The above prints out "X laps" each time a lap is added or removed from the database. If you set `synchronousStart` to `true` (the default value), the first element will be emitted synchronously - e.g. when you're binding UI it might not be possible for an asynchronous notification to come through.
3939

4040
##### `Observable.array(from:synchronousStart:)`
4141
Upon each change fetches a snapshot of the Realm collection and converts it to an array value (for example if you want to use array methods on the collection):
@@ -223,9 +223,9 @@ Observable.from( [Realm collection] )
223223

224224
#### b) Animated binding with RxRealmDataSources
225225

226-
There is a separate library __`RxRealmDataSources`__ [link](https://github.com/RxSwiftCommunity/RxRealmDataSources), which mimics the default data sources library behavior for RxSwift.
226+
The separate library [RxRealmDataSources](https://github.com/RxSwiftCommunity/RxRealmDataSources) mimics the default data sources library behavior for RxSwift.
227227

228-
`RxRealmDataSources` allows you to bind directly an observable collection of Realm objects to a table or collection view. Here's how the code to bind a collection of laps to a table view looks like:
228+
`RxRealmDataSources` allows you to bind an observable collection of Realm objects directly to a table or collection view:
229229

230230
```swift
231231
// create data source

0 commit comments

Comments
 (0)