Last active
March 5, 2018 11:33
-
-
Save nic004/5aba83586a14783731135609e65e2a16 to your computer and use it in GitHub Desktop.
phone number verification without Reactive #1
This file contains hidden or 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 ViewController: UIViewController { | |
@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! | |
var verifyStep: PhoneNumberVerifyStep = .inputPhoneNumber { | |
didSet { | |
... | |
} | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment