<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSuggestionItemResponse/preferredHighlight",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "s:6AppKit24NSSuggestionItemResponseV18preferredHighlightAC0G0Oyx_Gvp"
  },
  "title" : "preferredHighlight"
}
-->

# preferredHighlight

The preferred response that the control should take when this batch of results comes in (like whether or not to highlight the first selectable item). Defaults to `.automatic`.

```
var preferredHighlight: NSSuggestionItemResponse<SuggestionItemType>.Highlight
```

## Discussion> Note: This value is just a hint to the control on how to actually respond and may not  affect the highlighted item. In the case that the user has begun to already make a selection by using the up/down arrow keys, or using the mouse, the actual highlighted item may not be affected.

---

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)