Initializer

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.

See Also

Creating a Grid Template

class CPGridButton

A menu item button displayed on a grid template.