Created
January 14, 2020 14:56
-
-
Save zafarivaev/eed860181bb697094031ece16a4456e8 to your computer and use it in GitHub Desktop.
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
import UIKit | |
import RxSwift | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
private var appCoordinator: AppCoordinator! | |
private let disposeBag = DisposeBag() | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
window = UIWindow() | |
appCoordinator = AppCoordinator(window: window!) | |
appCoordinator.start() | |
.subscribe() | |
.disposed(by: disposeBag) | |
return true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment