Instance Method

updateSections(_:)

Updates the list with the provided sections.

Declaration

func updateSections(_ sections: [CPListSection])

Parameters

sections

The sections to replace the current list of sections.

Discussion

Updating the sections causes the list template to reload.

See Also

Managing List Sections

var sections: [CPListSection]

The sections displayed in the list.