Skip to content

PROTOCOL

Screen

public protocol Screen

Screens are the building blocks of an interactive application.

Conforming types contain any information needed to populate a screen: data, styling, event handlers, etc.

Methods

viewControllerDescription(environment:)

func viewControllerDescription(environment: ViewEnvironment) -> ViewControllerDescription

A view controller description that acts as a recipe to either build or update a previously-built view controller to match this screen.