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

# isSelectable

A Boolean value that indicates whether the user may select items in the collection view.

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

## Discussion

The value of this property is <doc://com.apple.documentation/documentation/Swift/true> when the collection view allows the user to select items, or <doc://com.apple.documentation/documentation/Swift/false> when it does not. You can set selections programmatically regardless of this setting.

The default value of this property is <doc://com.apple.documentation/documentation/Swift/false>. Changing the value from <doc://com.apple.documentation/documentation/Swift/true> to <doc://com.apple.documentation/documentation/Swift/false> removes the current selection if there is one.

---

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)