Instance Property

currentController

The current first responder accepting to control the preview panel.

Declaration

var currentController: Any! { get }

Discussion

You should never change the preview panel’s state (its delegate, datasource, and so on) if you are not controlling it.

See Also

Accessing the Preview Panel Controller

func updateController()

Asks the preview panel to update its current controller.