|
1 | | -// |
2 | | -// SceneDelegate.swift |
3 | | -// GoMoney |
4 | | -// |
5 | | -// Created by Golden Owl on 12/10/2022. |
6 | | -// |
7 | | - |
8 | 1 | import UIKit |
9 | 2 |
|
10 | 3 | class SceneDelegate: UIResponder, UIWindowSceneDelegate { |
11 | 4 | var window: UIWindow? |
12 | 5 |
|
13 | 6 | let settingManager = SettingsManager.shared |
14 | 7 |
|
15 | | - func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { |
| 8 | + func scene(_ scene: UIScene, willConnectTo _: UISceneSession, options _: UIScene.ConnectionOptions) { |
16 | 9 | // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. |
17 | 10 | // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. |
18 | 11 | // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). |
@@ -44,29 +37,29 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { |
44 | 37 | window?.makeKeyAndVisible() |
45 | 38 | } |
46 | 39 |
|
47 | | - func sceneDidDisconnect(_ scene: UIScene) { |
| 40 | + func sceneDidDisconnect(_: UIScene) { |
48 | 41 | // Called as the scene is being released by the system. |
49 | 42 | // This occurs shortly after the scene enters the background, or when its session is discarded. |
50 | 43 | // Release any resources associated with this scene that can be re-created the next time the scene connects. |
51 | 44 | // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). |
52 | 45 | } |
53 | 46 |
|
54 | | - func sceneDidBecomeActive(_ scene: UIScene) { |
| 47 | + func sceneDidBecomeActive(_: UIScene) { |
55 | 48 | // Called when the scene has moved from an inactive state to an active state. |
56 | 49 | // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. |
57 | 50 | } |
58 | 51 |
|
59 | | - func sceneWillResignActive(_ scene: UIScene) { |
| 52 | + func sceneWillResignActive(_: UIScene) { |
60 | 53 | // Called when the scene will move from an active state to an inactive state. |
61 | 54 | // This may occur due to temporary interruptions (ex. an incoming phone call). |
62 | 55 | } |
63 | 56 |
|
64 | | - func sceneWillEnterForeground(_ scene: UIScene) { |
| 57 | + func sceneWillEnterForeground(_: UIScene) { |
65 | 58 | // Called as the scene transitions from the background to the foreground. |
66 | 59 | // Use this method to undo the changes made on entering the background. |
67 | 60 | } |
68 | 61 |
|
69 | | - func sceneDidEnterBackground(_ scene: UIScene) { |
| 62 | + func sceneDidEnterBackground(_: UIScene) { |
70 | 63 | // Called as the scene transitions from the foreground to the background. |
71 | 64 | // Use this method to save data, release shared resources, and store enough scene-specific state information |
72 | 65 | // to restore the scene back to its current state. |
|
0 commit comments