adamwaite / Validator

Drop in user input validation for your iOS apps.
MIT License
1.42k stars 218 forks source link

UItextview, Uitextfield, UiSlide do not conform to ValidatableInterfaceelement #98

Closed serge-glance closed 6 years ago

serge-glance commented 6 years ago

I just upgraded to xcode 9.3.

Am getting non conformance to ValidatableInterfacElement protocol specifically the method: public func validate(rule r: R) -> ValidationResult where R.InputType == InputType { let result = Validator.validate(input: inputValue, rule: r) if let h = validationHandler { h(result) } return result }

i copied and pasted it into the UITextView,UISlider,UITextfield extensions and it will go away.

Is this because you have an extension in an extension?

Should just compile no problems from pods but it does not.

adamwaite commented 6 years ago

See https://github.com/adamwaite/Validator/issues/93