<!--
{
  "availability" : [
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCandidateListTouchBarItem/isCollapsed",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSCandidateListTouchBarItem(py)collapsed"
  },
  "title" : "isCollapsed"
}
-->

# isCollapsed

A Boolean value that controls the visibility of the candidate list.

```
var isCollapsed: Bool { get set }
```

## Discussion

When <doc://com.apple.documentation/documentation/Swift/true>, the candidate list is collapsed and not visible to the user.

The default value is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)