init(title:gridButtons:)
Creates a grid template with a title and a set of buttons.
Declaration
init(title: String?, gridButtons: [CPGridButton])Parameters
- title:
The title shown in the grid template’s navigation bar.
- gridButtons:
An array of grid buttons to display on the template.
Return Value
A newly initialized grid template.