Initializer

init(title:sections:)

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

Declaration

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

Parameters

title

A title shown in the navigation bar while the template is visible.

sections

An array of list sections. Each section should contain at least one list item.

Return Value

A newly initialized list template.

See Also

Creating a List Template

class CPListSection

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