Class

CPListItem

A list item that appears in a list template.

Declaration

@interface CPListItem : NSObject

Topics

Creating a List Item

- initWithText:detailText:

Initializes a list item with the specified text and detailed text.

- initWithText:detailText:image:

Initializes a list item with the specified text, detailed text, and image.

- initWithText:detailText:image:showsDisclosureIndicator:

Initializes a list item with the specified text, detailed text, image, and disclosure indicator.

CPMaximumListItemImageSize

The maximum size for a list item image.

Getting List Item Information

text

The primary text displayed in the list item cell.

detailText

Extra text displayed below the primary text in the list item cell.

image

The image displayed on the leading edge of the list item cell.

showsDisclosureIndicator

A Boolean value indicating whether the list item cell shows a disclosure indicator on the trailing edge of the list item cell.

Providing Additional Information

userInfo

A object containing custom information associated with the list item.

Relationships

Inherits From

Conforms To

See Also

Creating a List Section

- initWithItems:

Initializes a section with list items.

- initWithItems:header:sectionIndexTitle:

Initializes a section with list items, a header, and a section index title.