---
title: "searchableItemsDidUpdate(_:)"
framework: corespotlight
role: symbol
role_heading: Instance Method
path: "corespotlight/cssearchableindexdelegate/searchableitemsdidupdate(_:)"
---

# searchableItemsDidUpdate(_:)

Tells the delegate that the framework updated the specified items.

## Declaration

```swift
optional func searchableItemsDidUpdate(_ items: [CSSearchableItem])
```

## Parameters

- `items`: The updated items.

## Mentioned in

Generating summary and priority data for indexed items

## Discussion

Discussion When the system updates properties of your searchable item’s CSSearchableItemAttributeSet, it calls this method to notify you that the attributes changed. For example, it calls this method when summary or priority information from Apple Intelligence becomes available. For more information, see Generating summary and priority data for indexed items.

## See Also

### Updating the index

- [searchableIndex(_:reindexAllSearchableItemsWithAcknowledgementHandler:)](corespotlight/cssearchableindexdelegate/searchableindex(_:reindexallsearchableitemswithacknowledgementhandler:).md)
- [searchableIndex(_:reindexSearchableItemsWithIdentifiers:acknowledgementHandler:)](corespotlight/cssearchableindexdelegate/searchableindex(_:reindexsearchableitemswithidentifiers:acknowledgementhandler:).md)
