An abstract base class for interface templates.


class CPTemplate : NSObject


Getting Template Information

var userInfo: Any?

Any custom data or object that you want to associate with the template.


Inherits From

See Also

User Interface Basics

class CPInterfaceController

A controller that manages the templates that provide the user interface for your app on the CarPlay screen.

class CPMapTemplate

A template that provides a navigation bar and map buttons allowing users to interact with your app.

class CPListTemplate

A template that displays a hierarchical list of items.

class CPGridTemplate

A template that displays a grid of items.

class CPImageSet

Light and dark representations of an image.