Last active
July 6, 2021 18:43
-
-
Save seyitcodeit/5639f45901015afd856accaff38a2031 to your computer and use it in GitHub Desktop.
Builder implementation for Article
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
@main | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
let builder = Builder() | |
let viewController = builder.makeNewsViewController() | |
let navigationController = UINavigationController(rootViewController:viewController) | |
window = UIWindow(frame: UIScreen.main.bounds) | |
window?.rootViewController = navigationController | |
window?.makeKeyAndVisible() | |
return true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment