import UIKit final class HPAppDelegate: NSObject, UIApplicationDelegate { let hp = HPComponent() let hpVM = HPVM() func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil ) -> Bool { otherSetupConsoleLogging(hp.ctrl, "HP") hp.setup() return true } }