Created
May 13, 2017 17:16
-
-
Save TheCodedSelf/b1ad83927b470f32aad8d4fde415327e to your computer and use it in GitHub Desktop.
RxSwift: Bind to button taps
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
bind
is better way becausetap
is aControlEvent<()>
, so it never emits an error. In case of usingsubscribe
, it's not obvious anymore.