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.