Contents

searchableObject

The object to search, responsible for performing the search operation and decorating the results.

Declaration

weak var searchableObject: (any __UITextSearching)? { get }

Discussion

Use the methods this object implements from the UITextSearching protocol to search text in your app and decorate the found results.