Last active
April 1, 2019 09:21
-
-
Save yonivav/903d37a6ee78d75daf0e7f43e7db0d62 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
class MyView: UIView { | |
. | |
. | |
. | |
init() { | |
self.rx | |
.swipeGesture(.up) | |
.when(.ended) // Observable<UISwipeGestureRecognizer> | |
.bind(to: viewModel.viewDidSwiped) | |
.disposed(by: bag) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment