Created
August 3, 2017 01:00
-
-
Save shoheiyokoyama/9f3beb347b185e097619850933773e7b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
button.rx.tap | |
.flatMap { API.fetchData } | |
.subscribe(onNext: { data in | |
self?.updateUI(with: data) | |
}) | |
.disposed(by: disposeBag) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment