init(searchableObject:)
Initializes an object to manage the search for the searchable object you specify.
Declaration
@MainActor @preconcurrency convenience init<SearchableObject>(searchableObject: SearchableObject) where SearchableObject : UITextSearchingParameters
- searchableObject:
An object that conforms to the Uitextsearching 53wjq protocol that the session uses to search the text of your app and decorate the found results.