有没有办法在未选择项目并且在pickerView开头按下完成按钮时释放项目的初始值?
doneButton.rx.tap
.withLatestFrom(
Observable.merge(
pickerView.rx.itemSelected.mapAt(\.row).map({ $0 + 1 }),
...
)
)
.subscribe(onNext:
...
有没有办法在未选择项目并且在pickerView开头按下完成按钮时释放项目的初始值?
doneButton.rx.tap
.withLatestFrom(
Observable.merge(
pickerView.rx.itemSelected.mapAt(\.row).map({ $0 + 1 }),
...
)
)
.subscribe(onNext:
...