From 6d8cfa251046ca0aa0dcb9b4a1f734569249bffe Mon Sep 17 00:00:00 2001 From: Econa77 Date: Thu, 25 May 2017 15:32:44 +0900 Subject: [PATCH] Fix demo application compile error --- Demo/ViewController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Demo/ViewController.swift b/Demo/ViewController.swift index bec107b1..6eca8b6c 100644 --- a/Demo/ViewController.swift +++ b/Demo/ViewController.swift @@ -83,12 +83,12 @@ class ViewController: UIViewController { }) .addDisposableTo(self.disposableBag) - button1.rx.bind(to: action: sharedAction, input: .button("Button 1")) + button1.rx.bind(to: sharedAction, input: .button("Button 1")) - button2.rx.bind(to: action: sharedAction) { _ in + button2.rx.bind(to: sharedAction) { _ in return .button("Button 2") } - self.navigationItem.leftBarButtonItem?.rx.bind(to: action: sharedAction, input: .barButton) + self.navigationItem.leftBarButtonItem?.rx.bind(to: sharedAction, input: .barButton) sharedAction.executing.debounce(0, scheduler: MainScheduler.instance).subscribe(onNext: { [weak self] executing in if (executing) {