Skip to content

Commit 029dfd0

Browse files
committed
Update example
1 parent c63ef29 commit 029dfd0

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

Example/KWVerificationCodeView/ProgramaticalVerificationCodeViewController.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ class ProgramaticalVerificationCodeViewController: UIViewController {
1717
// MARK: - Lifecycle
1818
override func viewDidLoad() {
1919
super.viewDidLoad()
20-
20+
2121
let verificationCodeView = KWVerificationCodeView(frame: CGRect(x: 0, y: 0, width: 240, height: 60))
2222
containerView.addSubview(verificationCodeView)
2323
}
24-
24+
2525
@IBAction func dismissButtonTapped(_ sender: Any) {
2626
dismiss(animated: true, completion: nil)
2727
}
2828
}
29-

Example/KWVerificationCodeView/VerificationCodeViewController.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ class VerificationCodeViewController: UIViewController {
2121

2222
submitButton.isEnabled = false
2323
verificationCodeView.delegate = self
24+
25+
/* Other available options
26+
27+
verificationCodeView.keyboardType = UIKeyboardType.emailAddress
28+
29+
*/
2430
}
2531

2632
// MARK: - IBAction

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- KWVerificationCodeView (0.1.5)
2+
- KWVerificationCodeView (0.1.7)
33

44
DEPENDENCIES:
55
- KWVerificationCodeView (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
99
:path: ../
1010

1111
SPEC CHECKSUMS:
12-
KWVerificationCodeView: da12bb13b5ea990bd68411e5b1e6b49bf6f65d18
12+
KWVerificationCodeView: 291b6b9c82451eef4686a4f409a315a76da74cbc
1313

1414
PODFILE CHECKSUM: c5456285278196ae1d72df7acbfd1db2fab11376
1515

0 commit comments

Comments
 (0)