aboutsummaryrefslogblamecommitdiff
path: root/foray/AppDelegate.swift
blob: fc5d2f9ef54c0e35a1dd5f1d41c209f0636ab437 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                       
                         


                                                                                                                                                 








                                                          


                   


 
//
//  AppDelegate.swift
//  foray
//
//  Created by Nicholas Tay on 14/3/2022.
//

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        let nav = UINavigationController()
        let mainView = ForayTableViewController()
        nav.viewControllers = [mainView]
        
        let window = UIWindow(frame: UIScreen.main.bounds)
        window.rootViewController = nav
        self.window = window
        window.makeKeyAndVisible()
    
        return true
    }


}