feature/v1
swift 27 lines 685 Bytes
Raw
1 //
2 // AppDelegate.swift
3 // JomloCV tvOS Example
4 //
5 // Created by Seto Elkahfi on 2026-01-27.
6 // Copyright © 2026 Seto Elkahfi. All rights reserved.
7 //
8
9 import UIKit
10
11 @main
12 class AppDelegate: UIResponder, UIApplicationDelegate {
13
14 var window: UIWindow?
15
16 func application(
17 _ application: UIApplication,
18 didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
19 ) -> Bool {
20 let window = UIWindow(frame: UIScreen.main.bounds)
21 let tabBarController = TVTabBarController()
22 window.rootViewController = tabBarController
23 window.makeKeyAndVisible()
24 self.window = window
25 return true
26 }
27 }