Instance Method

setRootTemplate(_:animated:)

Sets the root template, starting a new stack for the template navigation hierarchy.

Declaration

func setRootTemplate(_ rootTemplate: CPTemplate, animated: Bool)

Parameters

rootTemplate

The root template. Replaces the current rootTemplate, if one exists.

animated

Set to true to animate the presentation of the root template; ignored if there isn't a current rootTemplate.

See Also

Configuring the Interface Controller

var delegate: CPInterfaceControllerDelegate?

An object serving as the delegate to the interface controller.

protocol CPInterfaceControllerDelegate

The interface that an object implements to serve as a delegate to an interface controller.