I wonder if it's possible to accumulate results of signals happening between next
s of a particular signal. Similar to
[[[RACSignal
combineLatest:@[signal1, signal2, signal3]]
takeUntil:signal4]
subscribeNext:^(id x) {
// ...
}];
But not completing after the first signal4
's next
.
The scenario I'm working with is I have a viewController1
that presents viewController2
. viewController2
allows user to change an object
that affects data presented in viewController1
. Currently I'm exposing an objectChangedSignal
on a viewController2
and listening to it from viewController1
.
However, I'd like to receive changes of the object
directly from the viewController1
but only after it fires viewWillAppear
signal and only if changes happened after viewWillDisappear
of viewController1
.
Hope it makes sense, thank you.