pub unsafe trait UITextDocumentProxy: UIKeyInput + MainThreadOnly {
// Provided methods
fn documentContextBeforeInput(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn documentContextAfterInput(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn selectedText(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn documentInputMode(&self) -> Option<Retained<UITextInputMode>>
where Self: Sized + Message { ... }
fn documentIdentifier(&self) -> Retained<NSUUID>
where Self: Sized + Message { ... }
fn adjustTextPositionByCharacterOffset(&self, offset: NSInteger)
where Self: Sized + Message { ... }
fn setMarkedText_selectedRange(
&self,
marked_text: &NSString,
selected_range: NSRange,
)
where Self: Sized + Message { ... }
fn unmarkText(&self)
where Self: Sized + Message { ... }
}Available on crate features
UIInputViewController and UITextInput and UITextInputTraits only.