<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPSelectableListItem",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(pl)CPSelectableListItem"
  },
  "title" : "CPSelectableListItem"
}
-->

# CPSelectableListItem

A description of a selectable list item.

```
protocol CPSelectableListItem : CPListTemplateItem
```

## Overview> Important:
> You don’t create custom classes that conform to `CPSelectableListItem`. Instead, you use one of the prebuilt list item types that adopt this protocol, such as ``doc://com.apple.carplay/documentation/CarPlay/CPListItem`` or ``doc://com.apple.carplay/documentation/CarPlay/CPListImageRowItem``.

## Topics

### Managing Selection

[`var handler: ((any CPSelectableListItem, () -> Void) -> Void)?`](/documentation/CarPlay/CPSelectableListItem/handler)

An optional closure that CarPlay invokes when the user selects the list item.

## Relationships

### Conforming Types

[`CPListItem`](/documentation/CarPlay/CPListItem)

[`CPListImageRowItem`](/documentation/CarPlay/CPListImageRowItem)

### Inherits From

[`CPListTemplateItem`](/documentation/CarPlay/CPListTemplateItem)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)