<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreSpotlight",
  "identifier" : "/documentation/CoreSpotlight/SpotlightSearchTool/SearchReply/Content-swift.enum/groupedItems(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Core Spotlight",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:31_CoreSpotlight_FoundationModels0B10SearchToolV0E5ReplyV7ContentO12groupedItemsyAGSDy0aB023SearchableItemAttributeVSayAI0kL0VGGcAGmF"
  },
  "title" : "SpotlightSearchTool.SearchReply.Content.groupedItems(_:)"
}
-->

# SpotlightSearchTool.SearchReply.Content.groupedItems(_:)

Items partitioned by an attribute value (e.g. content type).

```
case groupedItems([SearchableItemAttribute : [SearchableItem]])
```

---

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)