Action
Action copied to clipboard
Abstracts actions to be performed in RxSwift.
cell.followButton.rx.action = CocoaAction { [weak self] _ in return Observable.create { [weak self] observer -> Disposable in let alertController = UIAlertController(title: "Hello world", message: "This alert was triggered by a...
Fixed #216 I encountered a case similar to the issue ( #216 ) and committed testing and a temporary fix. It seems that the values does not emit if the...
Action framework needs to specify its minimum platforms versions to be sure they don't conflict with its dependency ones.
Like the title says there is a retain cycle in the various `bind(to:input:)` functions. The following test fails: ``` swift it("does not create a retain cycle") { var subject: UIBarButtonItem?...
Hey I noticed retain cycle in this example code let forgotPasswordAction = CocoaAction { return .create { [weak self] (observer) -> Disposable in guard let self = self else {...
https://github.com/ReactiveX/RxSwift/issues/2270 Fixed in 6.1.0
Are there any plans to (sup)port Combine?
I am not sure if this is an expected behavior but if an `observer` happen to subscribe to `Action.elements` when there is a inflight request (`Action.executing == true`) and the...
Hello, I've been looking into this lib and it's working nice. The only thing I can't manage is to bind the enabledIf observable after the action init. This would be...
In Action.swift, only the last value emitted by work factory is being replayed. Is it intentional? ``` return Observable.of(workFactory(input) .do(onError: { errorsSubject.onNext(.underlyingError($0)) }) .share(replay: 1, scope: .forever)) ``` This have...