Initializer

init(items:)

Creates a section with list items.

Declaration

init(items: [CPListItem])

Parameters

items

A list of items to include in the section.

Return Value

A newly initialized list section.

See Also

Creating a List Section

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.