Skip to content

Commit afeb424

Browse files
kcramerfreak4pc
authored andcommittedJun 14, 2019
add replaceError(with:) for catchErrorJustReturn
1 parent 1e0084a commit afeb424

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed
 

‎Data/operators.csv

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ asObserver(),eraseToAnySubject(),
44
bind(to:),`assign(to:on:)`,Assign uses a KeyPath which is really nice and useful. RxSwift needs a Binder / ObserverType to bind to.
55
buffer,buffer,
66
catchError,catch,
7-
catchErrorJustReturn,catch + just,
7+
catchErrorJustReturn,replaceError(with:),
88
combineLatest,"combineLatest, tryCombineLatest",
99
compactMap,"compactMap, tryCompactMap",
1010
concat,"append, prepend",
@@ -18,7 +18,6 @@ filter,"filter, tryFilter",
1818
first,"first, tryFirst",
1919
flatMap,flatMap,
2020
flatMapLatest,switchToLatest,
21-
ifEmpty(switchTo:),replaceEmpty(with:),
2221
ignoreElements(),ignoreOutput(),
2322
just(),Publishers.Just(),
2423
map,"map, tryMap",
@@ -39,4 +38,4 @@ takeLast,last,
3938
throttle,throttle,
4039
timeout,timeout,
4140
toArray(),collect(),
42-
zip,zip,
41+
zip,zip,

‎README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
4040
| bind(to:) | `assign(to:on:)` | Assign uses a KeyPath which is really nice and useful. RxSwift needs a Binder / ObserverType to bind to. |
4141
| buffer | buffer | |
4242
| catchError | catch | |
43-
| catchErrorJustReturn | catch + just | |
43+
| catchErrorJustReturn | replaceError(with:) | |
4444
| combineLatest | combineLatest, tryCombineLatest | |
4545
| compactMap | compactMap, tryCompactMap | |
4646
| concat | append, prepend | |
@@ -54,7 +54,6 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
5454
| first | first, tryFirst | |
5555
| flatMap | flatMap | |
5656
| flatMapLatest | switchToLatest | |
57-
| ifEmpty(switchTo:) | replaceEmpty(with:) | |
5857
| ignoreElements() | ignoreOutput() | |
5958
| just() | Publishers.Just() | |
6059
| map | map, tryMap | |

‎Resources/operators.jpg

-7.93 KB
Loading

0 commit comments

Comments
 (0)
Failed to load comments.