Validator
Validator copied to clipboard
cannot build with xcode 11 (need xcode 11 swift 5.1 suppport)
on UITextView+Validator
the compiler shows the following error on line 11:
'textDidChangeNotification' has been renamed to 'NSNotification.Name.UITextViewTextDidChange'
therefore you cannot build.
This was already renamed in the latest releases. Please, follow the installation guide. Make sure you are using latest release available.
@adamwaite This could be closed as well as previous one.
@piv199 I'm not seeing the change in the repo. https://github.com/adamwaite/Validator/blob/master/Validator/Sources/UIKit+Validator/UITextView+Validator.swift . It is still using 'textDidChangeNotification'
@shenck Can't get the problem. I have Xcode11 and swift 5.1 and everything comiles and works.
Documentation says it's still UITextView.textDidChangeNotification https://developer.apple.com/documentation/uikit/uitextview/1618609-textdidchangenotification
@shenck Actually, I have set swift version to 4.0 and your problem has occurred. Please set Swift version to at least 4.2 for the latest release.
@piv199 Thanks!! Working now