Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

cannot build with xcode 11 (need xcode 11 swift 5.1 suppport) #129

Open
PikaRules opened this issue Oct 4, 2019 · 5 comments
Open

cannot build with xcode 11 (need xcode 11 swift 5.1 suppport) #129

PikaRules opened this issue Oct 4, 2019 · 5 comments

Comments

@PikaRules
Copy link

on UITextView+Validator

the compiler shows the following error on line 11:

'textDidChangeNotification' has been renamed to 'NSNotification.Name.UITextViewTextDidChange'

therefore you cannot build.

@piv199
Copy link

piv199 commented Oct 25, 2019

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.

@shenck
Copy link

shenck commented Oct 30, 2019

@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'

@piv199
Copy link

piv199 commented Oct 30, 2019

@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

@piv199
Copy link

piv199 commented Oct 30, 2019

@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.

@shenck
Copy link

shenck commented Oct 30, 2019

@piv199 Thanks!! Working now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants