The following code works: But is there a more correct way with less code? i.e. can I make the button action change the property directly without th ...
The following code works: But is there a more correct way with less code? i.e. can I make the button action change the property directly without th ...
Is there a way to collect values over a period of time with max count from a signal? It seems like a combination of collect(every:on:skipEmpty:discard ...
I have an array of Property<Int>, and I need to reduce them to get sum of the last inputs (it's basically an unread notification counter from di ...
I am working on a ViewController where I called my viewModel to do a DispatchQueue.async call. After the async task starts and before the end my task ...
I feel confused when I see the sample code from ReactiveSwift, because intuitively observer is expected to receive events. Why does Observer is design ...
I recently started using swift's Combine (I've used ReactiveCocoa before), I'm wondering if there is a concept of cold and hot signals also in Combine ...
I have a simple signal, in one of the app components, that returns an array of items: var itemsSignal: Signal<[Item], Never> Those items migh ...
I have the following pipeline setup, and for some reason I can't understand, the second flatMap is skipped: See the transformations/signatures star ...
The following func runs well before I update to Xcode12, I'm new to ReactiveSwift and I don't know how to fix this issue, thanks for you help! Erro ...
I have a pipeline in ReactiveSwift for uploads. I want to make sure that even if one of the uploads fail, the rest will not be interrupted. After all ...
How can I rewrite ReactiveSwift/ReactiveCocoa code using Combine framework? I attached screenshot what combinePrevious mean from docs. ...
I need to cancel a request or stop a signal from starting. Basically there's a tab view and the user can switch between the multiple tabs but I need t ...
Is there an alternative to ReactiveSwift Action in Swift Combine? If not, how could it be implemented? I am not very familiar with Swift Combine yet ...
I inherited a somewhat old project written in ReactiveSwift (v3.1.0) and ReactiveCocoa (v7.2.0). When I opened it on Xcode 10.1, it was built without ...
I recently inherited a iOS project written using ReactiveSwift 3.1.0 and ReactiveCocoa 7.2.0. I'm tasked with updating it to Swift 5 and the latest Re ...
I want to observe the object count of the realm DB. I wrote this approach: There is another way to do so? Thanks ...
I have a function capturing events from an api which works great. The only issue is i dont want the stream to be complete when it fails. Is there ...
since Im new to the reactive programming, I have somewhat beginner question about chaining SignalProducers in ReactiveSwift. My goal is to create a ch ...
How can a buffered replay subject be implemented in ReactiveSwift? I've looked at replayLazily(upTo:) operator of SignalProducer, and also the pipe() ...
From the documentation of reactive swift I could understand about Flattening. Examples of which can be found here. In the section Flattening event str ...