Trait objc2_ui_kit::UITextSearchAggregator
source · pub unsafe trait UITextSearchAggregator: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn allFoundRanges(&self) -> Retained<NSOrderedSet<UITextRange>>
where Self: Sized + Message { ... }
unsafe fn foundRange_forSearchString_inDocument(
&self,
range: &UITextRange,
string: &NSString,
document: Option<&UITextSearchDocumentIdentifier>
)
where Self: Sized + Message { ... }
unsafe fn invalidateFoundRange_inDocument(
&self,
range: &UITextRange,
document: Option<&UITextSearchDocumentIdentifier>
)
where Self: Sized + Message { ... }
unsafe fn invalidate(&self)
where Self: Sized + Message { ... }
unsafe fn finishedSearching(&self)
where Self: Sized + Message { ... }
}
Available on crate feature
UITextSearching
only.Provided Methods§
unsafe fn allFoundRanges(&self) -> Retained<NSOrderedSet<UITextRange>>
Available on crate feature
UITextInput
only.unsafe fn foundRange_forSearchString_inDocument( &self, range: &UITextRange, string: &NSString, document: Option<&UITextSearchDocumentIdentifier> )
Available on crate feature
UITextInput
only.unsafe fn invalidateFoundRange_inDocument( &self, range: &UITextRange, document: Option<&UITextSearchDocumentIdentifier> )
Available on crate feature
UITextInput
only.