Contents

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 : UITextSearching

Parameters

  • 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.

See Also

Creating a text searching find session