Skip to content

EXTENSION

ScreenViewController

extension ScreenViewController

Properties

primaryScreen

public var primaryScreen: any Screen

Methods

description(for:environment:performInitialUpdate:)

public final class func description(
    for screen: ScreenType,
    environment: ViewEnvironment,
    performInitialUpdate: Bool = true
) -> ViewControllerDescription

Convenience to create a view controller description for the given screen value. See the example on the comment for ScreenViewController for usage.