From cb665d29a173f095cfe5af49764e202a89fd03c1 Mon Sep 17 00:00:00 2001 From: Alexey Gerasimov Date: Tue, 2 May 2017 18:49:39 +0300 Subject: [PATCH] Error fixed --- .../PassCode/View/BasePassCodeViewController.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/View/BasePassCodeViewController.swift b/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/View/BasePassCodeViewController.swift index d74bedf..2cc849a 100644 --- a/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/View/BasePassCodeViewController.swift +++ b/LeadKitAdditions/LeadKitAdditions/Controllers/PassCode/View/BasePassCodeViewController.swift @@ -241,12 +241,12 @@ extension BasePassCodeViewController: ConfigurableController { extension BasePassCodeViewController: UITextFieldDelegate { - func textField(_ textField: UITextField, - shouldChangeCharactersIn range: NSRange, - replacementString string: String) -> Bool { + public func textField(_ textField: UITextField, + shouldChangeCharactersIn range: NSRange, + replacementString string: String) -> Bool { let invalid = CharacterSet(charactersIn: "0123456789").inverted return string.rangeOfCharacter(from: invalid, options: [], range: string.startIndex..