Passcode lock

This commit is contained in:
Yishi Lin 2018-04-10 00:14:35 +08:00
parent fe80ed3dc8
commit 433562584e
6 changed files with 125 additions and 78 deletions

View file

@ -23,7 +23,7 @@ extension UITextField {
}
extension UIViewController {
func textFieldShouldReturn(_ textField: UITextField) -> Bool {
@objc public func textFieldShouldReturn(_ textField: UITextField) -> Bool {
if textField.nextField != nil {
textField.nextField?.becomeFirstResponder()
} else {