This commit is contained in:
Ivan Vorobei
2019-06-06 22:31:08 +03:00
parent 5eaf1fbc68
commit 6d351cf167
14 changed files with 652 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
import UIKit
import SwiftUI
final class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
let window = UIWindow(frame: UIScreen.main.bounds)
window.rootViewController = UIHostingController(rootView: CounterView())
self.window = window
window.makeKeyAndVisible()
}
}