The STTextViewDelegate textDidChange function changed to textViewDidChangeText. Without this change, the text binding value wasn't updated.
Before, in a situation like the one below, the prompt variable was never updated since the delegate function was not called because of the mismatched signature.
Description
The STTextViewDelegate textDidChange function changed to textViewDidChangeText. Without this change, the text binding value wasn't updated.
Before, in a situation like the one below, the prompt variable was never updated since the delegate function was not called because of the mismatched signature.
With the proposed update, the behaviour is as expected. The
onChange
is now triggered.The STTextViewDelegate: https://github.com/krzyzanowskim/STTextView/blob/main/Sources/STTextView/STTextViewDelegate.swift
Checklist