Skip to content

Commit

Permalink
rxcocoa build fix on xcode 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Kolozsi authored and kzaher committed Jul 18, 2017
1 parent 1314805 commit 0461f44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RxCocoa/iOS/DataSources/RxPickerViewAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ private class RxPickerViewArrayDataSource<T>: NSObject, UIPickerViewDataSource,
}
}

private class RxPickerViewSequenceDataSource<S: Sequence>
public class RxPickerViewSequenceDataSource<S: Sequence>
: RxPickerViewArrayDataSource<S.Iterator.Element>
, RxPickerViewDataSourceType {
typealias Element = S
public typealias Element = S

func pickerView(_ pickerView: UIPickerView, observedEvent: Event<S>) {
public func pickerView(_ pickerView: UIPickerView, observedEvent: Event<S>) {
UIBindingObserver(UIElement: self) { dataSource, items in
dataSource.items = items
pickerView.reloadAllComponents()
Expand Down

0 comments on commit 0461f44

Please sign in to comment.