func application()

in Sample/SwiftUI-MVVM/TicTacToe/Sources/AppDelegate.swift [26:37]


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        registerProviderFactories()

        let window = UIWindow(frame: UIScreen.main.bounds)
        self.window = window

        let rootComponent = RootComponent()
        window.rootViewController = UIHostingController(rootView: rootComponent.rootView)

        window.makeKeyAndVisible()
        return true
    }