Class

CPListSection

A section of list items that appear in a list template.

Declaration

class CPListSection : NSObject

Topics

Creating a List Section

init(items: [CPListItem])

Creates a section with list items.

init(items: [CPListItem], header: String?, sectionIndexTitle: String?)

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

class CPListItem

A list item that appears in a list template.

Getting List Section Information

var items: [CPListItem]

The list of items for the section.

var header: String?

The section header text.

var sectionIndexTitle: String?

The section index title.

Relationships

Inherits From

See Also

Creating a List Template

init(title: String?, sections: [CPListSection])

Creates a list template with an array of list sections and optional title.