Created
March 7, 2018 03:11
-
-
Save nic004/9408b474f535b10c3d3c5b3924536d65 to your computer and use it in GitHub Desktop.
phone number verification without Reactive #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PhoneVerifyViewController: UIViewController { | |
enum PhoneNumberVerifyStep { | |
case inputPhoneNumber, inputVerifyNumber, verifying, succeed, failed | |
} | |
var verifyStep: PhoneNumberVerifyStep = .inputPhoneNumber | |
@IBOutlet weak var phoneNumberTextField: UITextField! | |
@IBOutlet weak var verifyNumberTextField: UITextField! | |
@IBOutlet weak var requestVerifyNumberButton: UIButton! | |
@IBOutlet weak var verifyButton: UIButton! | |
@IBOutlet weak var statusLabel: UILabel! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment