This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // MARK: - SceneDelegate | |
| class SceneDelegate: UIResponder, UIWindowSceneDelegate { | |
| var window: UIWindow? | |
| func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { | |
| let navigationController = UINavigationController(navigationBarClass: NavigationBar.self, toolbarClass: nil) | |
| (navigationController.navigationBar as! NavigationBar).preferredHeight = 88 | |
| navigationController.setViewControllers([ViewController()], animated: false) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // ViewController.swift | |
| // task-test | |
| // | |
| // Created by Seb Vidal on 18/08/2022. | |
| // | |
| import UIKit | |
| class FirstViewController: UIViewController { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // SceneDelegate.swift | |
| // Snippet | |
| // | |
| // Created by Seb Vidal on 30/01/2022. | |
| // | |
| import UIKit | |
| class SceneDelegate: UIResponder, UIWindowSceneDelegate, NSToolbarDelegate { |
NewerOlder