---
title: CPInformationItem
framework: carplay
role: symbol
role_heading: Class
path: carplay/cpinformationitem
---

# CPInformationItem

A data object that provides content for an information template.

## Declaration

```swift
class CPInformationItem
```

## Overview

Overview CPInformationTemplate uses information items to populate the rows of its list. Depending on the template’s layout, the item’s title and 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

- [init(title:detail:)](carplay/cpinformationitem/init(title:detail:).md)

### Accessing the Item’s Attributes

- [title](carplay/cpinformationitem/title.md)
- [detail](carplay/cpinformationitem/detail.md)

### Initializers

- [init(coder:)](carplay/cpinformationitem/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [CPInformationRatingItem](carplay/cpinformationratingitem.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Managing the Items

- [items](carplay/cpinformationtemplate/items.md)
- [CPInformationRatingItem](carplay/cpinformationratingitem.md)
