in Sources/TwitterTextEditor/TextEditorView.swift [27:53]
func textEditorViewShouldBeginEditing(_ textEditorView: TextEditorView) -> Bool
/**
A callback when the text editor view did begin editing.
- Parameters:
- textEditorView: A delegating `TextEditorView`.
*/
func textEditorViewDidBeginEditing(_ textEditorView: TextEditorView)
/**
A callback when the text editor view did end editing.
- Parameters:
- textEditorView: A delegating `TextEditorView`.
*/
func textEditorViewDidEndEditing(_ textEditorView: TextEditorView)
}
/**
A protocol to observe current text input for text editor view.
The text input is an interface that is representing such as a software or connected hardware keyboard.
- SeeAlso:
- `TextEditorView.textInputObserver`
- `UITextInput`
*/
public protocol TextEditorViewTextInputObserver: AnyObject {