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

# CPInformationItem

A data object that provides content for an information template.

```
class CPInformationItem
```

## Overview

[`CPInformationTemplate`](/documentation/CarPlay/CPInformationTemplate) uses information items to populate the rows of its list. Depending on the template’s layout, the item’s [`title`](/documentation/CarPlay/CPInformationItem/title) and [`detail`](/documentation/CarPlay/CPInformationItem/detail) values stack vertically or horizontally in the row. Use the `title` property to describe the content, and the `detail` property to provide the content. For example, when using `CPInformationTemplate` to present a food order summary, you could provide an item that displays the number of minutes until the order is ready.

## Topics

### Creating an Information Item

[`-  initWithTitle:detail:`](/documentation/CarPlay/CPInformationItem/init(title:detail:))

Creates an information item with a title and detail text.

### Accessing the Item’s Attributes

[`title`](/documentation/CarPlay/CPInformationItem/title)

The text that the template displays as the item’s title.

[`detail`](/documentation/CarPlay/CPInformationItem/detail)

The text that the template displays below or beside the item’s title.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

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

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Inherited By

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

---

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)