diff --git a/Example/KWVerificationCodeView/Base.lproj/Main.storyboard b/Example/KWVerificationCodeView/Base.lproj/Main.storyboard
index be8a99e..874f0a0 100644
--- a/Example/KWVerificationCodeView/Base.lproj/Main.storyboard
+++ b/Example/KWVerificationCodeView/Base.lproj/Main.storyboard
@@ -76,6 +76,13 @@
+
@@ -83,6 +90,8 @@
+
+
diff --git a/Example/KWVerificationCodeView/VerificationCodeViewController.swift b/Example/KWVerificationCodeView/VerificationCodeViewController.swift
index ae467cd..96aef6c 100644
--- a/Example/KWVerificationCodeView/VerificationCodeViewController.swift
+++ b/Example/KWVerificationCodeView/VerificationCodeViewController.swift
@@ -23,9 +23,7 @@ class VerificationCodeViewController: UIViewController {
verificationCodeView.delegate = self
/* Other available options
-
verificationCodeView.keyboardType = UIKeyboardType.emailAddress
-
*/
}
@@ -38,6 +36,10 @@ class VerificationCodeViewController: UIViewController {
present(alertController, animated: true, completion: nil)
}
}
+
+ @IBAction func clearButtonTapped(_ sender: UIButton) {
+ verificationCodeView.clear()
+ }
}
// MARK: - KWVerificationCodeViewDelegate
diff --git a/Example/Podfile.lock b/Example/Podfile.lock
index c030c5d..da0edfa 100644
--- a/Example/Podfile.lock
+++ b/Example/Podfile.lock
@@ -1,5 +1,5 @@
PODS:
- - KWVerificationCodeView (0.1.7)
+ - KWVerificationCodeView (0.1.9)
DEPENDENCIES:
- KWVerificationCodeView (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: ../
SPEC CHECKSUMS:
- KWVerificationCodeView: 291b6b9c82451eef4686a4f409a315a76da74cbc
+ KWVerificationCodeView: efa0f7833c2d291f166553c36e592048bfb667da
PODFILE CHECKSUM: c5456285278196ae1d72df7acbfd1db2fab11376