From 5e586f6bb858d81c768162a27fa1f266861dcf37 Mon Sep 17 00:00:00 2001 From: freak4pc Date: Sat, 21 Nov 2020 10:22:56 +0200 Subject: [PATCH] README typo --- .gitignore | 1 + README.md | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index d09dd1f57..8aedb6044 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ DerivedData *.o .swiftpm/ docs/docsets +*.xcframework timeline.xctimeline .vscode diff --git a/README.md b/README.md index fe110f305..4510a4a9f 100644 --- a/README.md +++ b/README.md @@ -102,9 +102,9 @@ let searchResults = searchBar.rx.text.orEmpty return .just([]) } return searchGitHub(query) - .catchErrorJustReturn([]) + .catchAndReturn([]) } - .observeOn(MainScheduler.instance) + .observe(on: MainScheduler.instance) ... then bind the results to your tableview @@ -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 @@ -165,8 +165,6 @@ $ pod install ### [Carthage](https://github.com/Carthage/Carthage) -Officially supported: Carthage 0.33 and up. - Add this to `Cartfile` ```