AppDelegate.swift 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // AppDelegate.swift
  3. // LiveLikeGiphyChallenge
  4. //
  5. //
  6. import UIKit
  7. @main
  8. class AppDelegate: UIResponder, UIApplicationDelegate {
  9. func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
  10. // Override point for customization after application launch.
  11. return true
  12. }
  13. // MARK: UISceneSession Lifecycle
  14. func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
  15. // Called when a new scene session is being created.
  16. // Use this method to select a configuration to create the new scene with.
  17. return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
  18. }
  19. func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
  20. // Called when the user discards a scene session.
  21. // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
  22. // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
  23. }
  24. }