Protocol

CPInterfaceControllerDelegate

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

Declaration

protocol CPInterfaceControllerDelegate

Topics

Handling Display Events

func templateWillAppear(CPTemplate, animated: Bool)

Tells the delegate that the template will appear onscreen.

func templateDidAppear(CPTemplate, animated: Bool)

Tells the delegate that the template did appear onscreen.

func templateWillDisappear(CPTemplate, animated: Bool)

Tells the delegate that the template will disappear from the screen.

func templateDidDisappear(CPTemplate, animated: Bool)

Tells the delegate that the template did disappear from the screen.

Relationships

Inherits From

See Also

Configuring the Interface Controller

func setRootTemplate(CPTemplate, animated: Bool)

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

var delegate: CPInterfaceControllerDelegate?

An object serving as the delegate to the interface controller.