One Logo Pool Ball
UIKit · IOS API REFERENCE

UITextSearching

protocol · iOS 16.0+ · SDK 27.1

protocol UITextSearching : NSObjectProtocol

Members (3)

method · iOS 16.0+

replaceAll

Swift declaration
func replaceAll(queryString: String, options: UITextSearchOptions, withText: String)
get · iOS 16.0+

supportsTextReplacement

Swift declaration
var supportsTextReplacement: Bool { get }
get · iOS 16.0+

selectedTextSearchDocument

Swift declaration
var selectedTextSearchDocument: Self.DocumentIdentifier? { get }

Skipped declarations

5 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UITextSearching.shouldReplace(foundTextRange:document:withText:)

The iOS SDK compiler rejected this binding: cannot access associated type 'DocumentIdentifier' from 'UITextSearching'; use a concrete type or generic parameter base instead

UITextSearching.replace(foundTextRange:document:withText:)

The iOS SDK compiler rejected this binding: cannot access associated type 'DocumentIdentifier' from 'UITextSearching'; use a concrete type or generic parameter base instead

UITextSearching.willHighlight(foundTextRange:document:)

The iOS SDK compiler rejected this binding: cannot access associated type 'DocumentIdentifier' from 'UITextSearching'; use a concrete type or generic parameter base instead

UITextSearching.scrollRangeToVisible(_:inDocument:)

The iOS SDK compiler rejected this binding: cannot access associated type 'DocumentIdentifier' from 'UITextSearching'; use a concrete type or generic parameter base instead

UITextSearching.compare(document:toDocument:)

The iOS SDK compiler rejected this binding: cannot access associated type 'DocumentIdentifier' from 'UITextSearching'; use a concrete type or generic parameter base instead

All UIKit types →