Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
private let dependencies: AppDelegateDependencyResolver = AppDelegateDependencyContainer()
// weaver: homeViewController = HomeViewController <- UIViewController
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
window = UIWindow()
window?.rootViewController = UINavigationController(rootViewController: dependencies.homeViewController)
return true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment