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 that appears in the navigation bar while the template is visible.
- sections:
An array of list sections, each with zero or more list items.
Return Value
A newly initialized list template.