Top "Rx-swift" questions

RxSwift's intention is to enable easy composition of asynchronous operations and event/data streams.

BehaviorSubject vs PublishSubject

I'm trying to get my head around the golden rule (if any) about: When to use BehaviorSubject ? and When to …

android rx-java rx-swift reactivex
Observable Current and Previous Value

I have a Variable which is an array of enum values. These values change over time. enum Option { case One …

swift rx-swift
RxSwift: Return a new observable with an error

I have a function that return a Bool Observable depending if it was ok or not. func test() -> …

ios swift rx-swift
How to unsubscribe from Observable in RxSwift?

I want to unsubscribe from Observable in RxSwift. In order to do this I used to set Disposable to nil. …

ios swift rx-swift
Simple timer with rxSwift

I'm trying to reproduce a simple timer with RxSwift. I have a pause/play button only that works for pause …

swift timer rx-swift
Subscribe to last value after completed on RxSwift PublishSubject

I'm looking for something like this: let observable = PublishSubject<String>() observable.onNext("1") observable.onCompleted() _ = observable.subscribeNext { s in …

swift rx-swift reactivex
issue with having rx.tap for UIButton in UICollectionViewCell - RxSwift 3

I am subscribing 2 times for 1 UIButton : First subscription, for updating UI on every click Second subscription, for updating the values …

ios swift3 reactive-programming rx-swift rx-cocoa
RxSwift: Mapping a completable to single observable?

I am trying to do a couple of actions in sequence, using RxSwift and am unsure how to get it …

ios rx-swift
RxSwift table view with multiple custom cell types

I'w wonder is there any code example for RxSwift when I can use multiple custom cells inside one table view. …

ios swift uitableview swift2 rx-swift
How to show collection view 3 columns in 1 row with RxSwift

Here is my code: import UIKit import RxSwift import RxCocoa import RxOptional class ViewController: UIViewController { @IBOutlet weak var collectionView: UICollectionView! …

ios swift uicollectionview rx-swift