UITextSearching
The methods you use on a find session’s searchable objects to perform search operations and decorate the found text results.
Declaration
protocol UITextSearching : NSObjectProtocolOverview
Implement this protocol on the class that encapsulates the searchable content for your view. This allows you to use an instance of UITextSearchingFindSession to manage the session for a find interaction.
Topics
Handling searches
performTextSearch(queryString:options:resultAggregator:)UITextSearchAggregatorcompare(_:toRange:document:)compare(document:toDocument:)DocumentIdentifier
Displaying results
decorate(foundTextRange:document:usingStyle:)clearAllDecoratedFoundText()willHighlight(foundTextRange:document:)scrollRangeToVisible(_:inDocument:)