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
+3-3
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,A collection of AnyCancellables,"Call anyCancellable.store(in: collection), where collection can be an array, a set, or any other RangeReplaceableCollection"
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,❌,Apple removed Publishers.Optional.
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"
@@ -18,6 +18,6 @@ ScheduledDisposable,❌,
18
18
SchedulerType,Scheduler,
19
19
SerialDisposable,❌,
20
20
Signal,❌,
21
-
Single,Future,"They're only similar in the sense of single emission, but Future shares resources and executes immediately (very strange behavior)"
21
+
Single,Deferred + Future,"Future has to be wrapped in a Deferred, or its greedy as opposed to Single's laziness"
22
22
SubjectType,Subject,
23
23
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|
29
+
| DisposeBag | A collection of AnyCancellables | Call anyCancellable.store(in: &collection), where collection can be an array, a set, or any other RangeReplaceableCollection |
30
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 |❌| Apple removed Publishers.Optional.|
31
+
| Maybe |Publishers.Optional||
32
32
| Observable | Publisher ||
33
33
| Observer | Subscriber ||
34
34
| PublishRelay | ❌ | Simple wrapper around PublishSubject, could be easily recreated in Combine |
@@ -38,7 +38,7 @@ It's based on the following blog post: [https://medium.com/gett-engineering/rxsw
38
38
| SchedulerType | Scheduler ||
39
39
| SerialDisposable | ❌ ||
40
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)|
41
+
| Single |Deferred + Future | Future has to be wrapped in a Deferred, or its greedy as opposed to Single's laziness |
42
42
| SubjectType | Subject ||
43
43
| TestScheduler | ❌ | There doesn't seem to be an existing testing scheduler for Combine code |
0 commit comments