<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextSearchingFindSession/init(searchableObject:)-7swl5",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So26UITextSearchingFindSessionC5UIKitE16searchableObjectABx_tcAC0aB0Rzlufc"
  },
  "title" : "init(searchableObject:)"
}
-->

# init(searchableObject:)

Initializes an object to manage the search for the searchable object you specify.

```
@MainActor @preconcurrency convenience init<SearchableObject>(searchableObject: SearchableObject) where SearchableObject : UITextSearching
```

## Parameters

`searchableObject`

An object that conforms to the [`UITextSearching`](/documentation/UIKit/UITextSearching-53wjq) protocol that the session uses to search the text of your app and decorate the found results.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)