init(title:items:)
Initializes the section with the specified title and items.
Declaration
init(title: String?, items: [CPMapPanelItem])Parameters
- title:
The localized title of the section. The system displays this string at the top of the section’s content. The section object stores a copy of the provided string. Specify
nilif you don’t want to display a title for the section. - items:
The array of items to display in the section. Specify at least one item in this array. The section object stores a copy of the provided array.
Return Value
An initialized section object.