import UIKit final class AppDelegate: NSObject, UIApplicationDelegate { let blue = BlueComponent() let blueVM = BlueVM() let render = RenderComponent() let renderVM = RenderVM() func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil ) -> Bool { otherSetupConsoleLogging(blue.ctrl, "Blue") blue.setup() otherSetupConsoleLogging(render.ctrl, "Render") render.setup() return true } }