AppDelegate.swift (1430B)
1 // 2 // AppDelegate.swift 3 // captainsLog 4 // 5 // Created by Benjamin Welner on 10/16/19. 6 // Copyright © 2019 FIGBERT Industries. All rights reserved. 7 // 8 9 import UIKit 10 11 @UIApplicationMain 12 class AppDelegate: UIResponder, UIApplicationDelegate { 13 14 15 16 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 17 // Override point for customization after application launch. 18 return true 19 } 20 21 // MARK: UISceneSession Lifecycle 22 23 func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { 24 // Called when a new scene session is being created. 25 // Use this method to select a configuration to create the new scene with. 26 return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) 27 } 28 29 func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) { 30 // Called when the user discards a scene session. 31 // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. 32 // Use this method to release any resources that were specific to the discarded scenes, as they will not return. 33 } 34 35 36 } 37