|
- import UIKit
-
- @UIApplicationMain
- class AppDelegate: UIResponder, UIApplicationDelegate
- {
- var window: UIWindow?
-
- func application(
- _ application: UIApplication,
- didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
- ) -> Bool {
- window = UIWindow(frame: UIScreen.main.bounds)
- let vc = UIViewController()
- addSwiftUIViewAsChild(swiftUIView: V(), parent: vc.view)
- vc.view.backgroundColor = .gray
- window?.rootViewController = vc
- window?.backgroundColor = UIColor.white
- window?.makeKeyAndVisible()
-
-
- Bus.processSyncG(
- MeetupId.shouldFormat, MeetupId.K.meetupIdTextUI.rawValue, MeetupId.K.meetupIdTextApp.rawValue
- )
-
- return true
- }
- }
|