New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use textViewDidChange with "Revise APIs version" ? #50
Comments
I need textViewDidChange delegate method, how to use in updated version? let growingTextView: NextGrowingTextView growingTextView.delegates.textViewDidChange = { (growingTextView: NextGrowingTextView) in |
|
Hi muukii, Thanks for your reply UITextViewDelegate from NextGrowingTextView.textView.delegate can you explain through it with example Thanks |
okay, class ViewController: UIViewController {
let nextTextView: NextGrowingTextView = ...
override func viewDidLoad() {
super.viewDidLoad()
nextTextView.textView.delegate = self
}
}
extension ViewController: UITextViewDelegate {
func textViewDidChange(_ textView: UITextView) {
// here 🤠
}
} |
Hi muukii, Thanks it's working now.. |
Hi Nice🎉 |
How can I upgrade this to newer one?
The text was updated successfully, but these errors were encountered: