Skip to content

Commit

Permalink
README typo
Browse files Browse the repository at this point in the history
  • Loading branch information
freak4pc committed Nov 21, 2020
1 parent ef4e11a commit 5e586f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ DerivedData
*.o
.swiftpm/
docs/docsets
*.xcframework

timeline.xctimeline
.vscode
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ let searchResults = searchBar.rx.text.orEmpty
return .just([])
}
return searchGitHub(query)
.catchErrorJustReturn([])
.catchAndReturn([])
}
.observeOn(MainScheduler.instance)</pre></div></td>
.observe(on: MainScheduler.instance)</pre></div></td>
</tr>
<tr>
<td>... then bind the results to your tableview</td>
Expand All @@ -127,7 +127,7 @@ searchResults
* Xcode 12.x
* Swift 5.x

For Xcode 11 and below, [use RxSwift 5.x](https://github.com/ReactiveX/RxSwift/releases/tag/5.0.1).
For Xcode 11 and below, [use RxSwift 5.x](https://github.com/ReactiveX/RxSwift/releases/tag/5.1.1).

## Installation

Expand Down Expand Up @@ -165,8 +165,6 @@ $ pod install

### [Carthage](https://github.com/Carthage/Carthage)

Officially supported: Carthage 0.33 and up.

Add this to `Cartfile`

```
Expand Down

0 comments on commit 5e586f6

Please sign in to comment.