import UIKit import RxSwift import RxCocoa let button = UIButton() button.rx.tap.bind { print("button tapped") }