Skip to content

Commit 0461f44

Browse files
Boris Kolozsikzaher
authored andcommitted
rxcocoa build fix on xcode 9
1 parent 1314805 commit 0461f44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RxCocoa/iOS/DataSources/RxPickerViewAdapter.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ private class RxPickerViewArrayDataSource<T>: NSObject, UIPickerViewDataSource,
3131
}
3232
}
3333

34-
private class RxPickerViewSequenceDataSource<S: Sequence>
34+
public class RxPickerViewSequenceDataSource<S: Sequence>
3535
: RxPickerViewArrayDataSource<S.Iterator.Element>
3636
, RxPickerViewDataSourceType {
37-
typealias Element = S
37+
public typealias Element = S
3838

39-
func pickerView(_ pickerView: UIPickerView, observedEvent: Event<S>) {
39+
public func pickerView(_ pickerView: UIPickerView, observedEvent: Event<S>) {
4040
UIBindingObserver(UIElement: self) { dataSource, items in
4141
dataSource.items = items
4242
pickerView.reloadAllComponents()

0 commit comments

Comments
 (0)