This file contains 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
final class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
private var appFlowController: AppFlowController? | |
private let dependencyManager = DependencyManager() | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
let window = UIWindow(frame: UIScreen.main.bounds) | |
window.rootViewController = UINavigationController() | |
self.window = window | |
appFlowController = AppFlowController(window: window, dependencyManager: dependencyManager) | |
appFlowController?.showInitialView() | |
window.makeKeyAndVisible() | |
return true | |
} | |
override var next: UIResponder? { | |
return appFlowController | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment