<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreSpotlight",
  "identifier" : "/documentation/CoreSpotlight/CSUserQuery/suggestions-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Spotlight",
      "CoreSpotlight"
    ],
    "preciseIdentifier" : "s:So11CSUserQueryC13CoreSpotlightE11suggestionsAbCE11SuggestionsVvp"
  },
  "title" : "suggestions"
}
-->

# suggestions

An asynchronous sequence of suggested completions for the current query text.

```
var suggestions: CSUserQuery.Suggestions { get }
```

## Discussion

Getting the value of this property starts the query and begins the delivery
of suggestions. Typically, you get this property as part of a `for..in` loop
to iterate over the suggestions and display them in your interface.

---

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)