The TextCode has a UItextField
on the right side.
The PassCode has a UItextField
on the right side.
Use RxSwift to implement the following logic.
SelectAlertItem
AlertViewControll sheet style has three options: A, B, C. Now I can implement the selection logic.
I don't know how to use RxSwift to implement the following logic.
The following is my key logic: Only when the selectedItem is B. TextCodeTextField text must be copied to PassCodeTextField at the end of editing.
In other word, SelectType is B, TextCodeTextField input "11111" and editingend, then PassCodeTextField will be "11111".
How to use RxSwift to implement the following logic with UITextfield?