<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -",
    "macOS: 15.4.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreSpotlight",
  "identifier" : "/documentation/CoreSpotlight/CSSearchableIndexDelegate/searchableItems(forIdentifiers:searchableItemsHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Spotlight"
    ],
    "preciseIdentifier" : "c:objc(pl)CSSearchableIndexDelegate(im)searchableItemsForIdentifiers:searchableItemsHandler:"
  },
  "title" : "searchableItems(forIdentifiers:searchableItemsHandler:)"
}
-->

# searchableItems(forIdentifiers:searchableItemsHandler:)

Requests that the delegate provide searchable items for the provided identifiers.

```
optional func searchableItems(forIdentifiers identifiers: [String], searchableItemsHandler: @escaping @Sendable ([CSSearchableItem]) -> Void)
```

## Parameters

`identifiers`

An array of strings that represent the identifiers.

`searchableItemsHandler`

A method the framework calls that provides an array of [`CSSearchableItem`](/documentation/CoreSpotlight/CSSearchableItem) objects.

## Discussion

Use this method to provide the framework with a list of identifiers to search for.

---

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)