You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Data/core_components.csv
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ Completable,❌,
6
6
CompositeDisposable,❌,
7
7
ConnectableObservableType,ConnectablePublisher,
8
8
Disposable,Cancellable,
9
-
DisposeBag,❌,
9
+
DisposeBag,A collection of AnyCancellables,"Call anyCancellable.store(in: collection), where collection can be an array, a set, or any other RangeReplaceableCollection"
10
10
Driver,BindableObject (SwiftUI),"Both guarantee no failure, but Driver guarantees delivery on Main Thread. In Combine, SwiftUI recreates the entire view hierarachy on the Main Thread, instead."
11
-
Maybe,❌,
11
+
Maybe,Publishers.Optional,
12
12
Observable,Publisher,
13
13
Observer,Subscriber,
14
14
PublishRelay,❌,"Simple wrapper around PublishSubject, could be easily recreated in Combine"
| Driver | BindableObject (SwiftUI) | Both guarantee no failure, but Driver guarantees delivery on Main Thread. In Combine, SwiftUI recreates the entire view hierarachy on the Main Thread, instead. |
31
-
| Maybe |❌ ||
32
-
| Observable | Publisher ||
33
-
| Observer | Subscriber ||
34
-
| PublishRelay | ❌ | Simple wrapper around PublishSubject, could be easily recreated in Combine |
35
-
| PublishSubject | PassthroughSubject ||
36
-
| ReplaySubject | ❌ ||
37
-
| ScheduledDisposable | ❌ ||
38
-
| SchedulerType | Scheduler ||
39
-
| SerialDisposable | ❌ ||
40
-
| Signal | ❌ ||
41
-
| Single | Future | They're only similar in the sense of single emission, but Future shares resources and executes immediately (very strange behavior) |
42
-
| SubjectType | Subject ||
43
-
| TestScheduler | ❌ | There doesn't seem to be an existing testing scheduler for Combine code |
| DisposeBag |A collection of AnyCancellables | Call anyCancellable.store(in: collection), where collection can be an array, a set, or any other RangeReplaceableCollection|
30
+
| Driver | BindableObject (SwiftUI) | Both guarantee no failure, but Driver guarantees delivery on Main Thread. In Combine, SwiftUI recreates the entire view hierarachy on the Main Thread, instead. |
31
+
| Maybe |Publishers.Optional||
32
+
| Observable | Publisher ||
33
+
| Observer | Subscriber ||
34
+
| PublishRelay | ❌ | Simple wrapper around PublishSubject, could be easily recreated in Combine |
35
+
| PublishSubject | PassthroughSubject ||
36
+
| ReplaySubject | ❌ ||
37
+
| ScheduledDisposable | ❌ ||
38
+
| SchedulerType | Scheduler ||
39
+
| SerialDisposable | ❌ ||
40
+
| Signal | ❌ ||
41
+
| Single | Future | They're only similar in the sense of single emission, but Future shares resources and executes immediately (very strange behavior) |
42
+
| SubjectType | Subject ||
43
+
| TestScheduler | ❌ | There doesn't seem to be an existing testing scheduler for Combine code |
44
44
45
45
46
46
## [Operators](Data/operators.csv)
@@ -49,7 +49,7 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
0 commit comments