textField(_:shouldChangeCharactersIn:replacementString:) equivalent for SwiftUI TextEditor?

Does anyone know if SwiftUI's TextEditor has a method equivalent to textField(_:shouldChangeCharactersIn:replacementString:)?

I need to know not only the change in text value but also where in the TextEditor it has occurred.

Replies

if SwiftUI's TextEditor has a method equivalent

As far as I know, the answer is NO.

I need to know not only the change in text value but also where in the TextEditor it has occurred. 

You may need to diff old and new texts by yourself, or keep staying in the UIKit world.

You can send a feature request using Apple's Feedback Assistant.
Thanks for the prompt reply. I feared the answer was no (given there isn't full parity on other UIKit vs SwiftUI components).

For now I will use a UIViewRepresentable and Coordinator to bring UITextView into SwiftUI.