title: How to use dataSource and delegate methods with RxSwift
body: <p>I'm trying to use UIPickerView with RxSwift. Is there a way to wrap the UIPickerView dataSource and delegate methods to be used with Observables? I'm trying to do something like</p>
  
  <pre><code>dataSequence
      .bindTo(pickerView.rx_itemsWithDataSource(dataSource))
  </code></pre>
  
  <p>I see there is a premade library for UITableview 
  <a href="https://github.com/RxSwiftCommunity/RxDataSources" rel="nofollow">https://github.com/RxSwiftCommunity/RxDataSources</a> but I'm wondering if there's an easy way to generalize this for other things that require dataSource and delegate using RxSwift.</p>