in Sources/TwitterTextEditor/TextEditorView.swift [240:268]
func transformed()
/**
The paste observer has completed transforming the pasting or dropping item to the string
to be pasted or dropped in the text editor view.
Same as `UITextPasteItem.setResult(string:)`
- SeeAlso:
- `UITextPasteItem.setResult(string:)`
*/
func transformed(to string: String)
/**
The paste observer has not transformed and the other transforms are needed.
Same as `UITextPasteItem.setDefaultResult()`
- SeeAlso:
- `UITextPasteItem.setDefaultResult()`
*/
func noTransform()
}
/**
A protocol to observe the text editor view for pasting or dropping items of specific type identifiers.
- SeeAlso:
- `TextEditorView.pasteObservers`
*/
public protocol TextEditorViewPasteObserver: AnyObject {