|
@@ -6,14 +6,26 @@
|
|
|
//
|
|
|
|
|
|
import UIKit
|
|
|
+import SwiftUI
|
|
|
import XMPPFramework
|
|
|
|
|
|
+@main
|
|
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
|
+
|
|
|
+ var window: UIWindow?
|
|
|
+
|
|
|
func application(
|
|
|
_ application: UIApplication,
|
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil
|
|
|
) -> Bool {
|
|
|
+
|
|
|
+ window = UIWindow(frame: UIScreen.main.bounds)
|
|
|
+ window?.rootViewController = UIHostingController(rootView: ContentView())
|
|
|
+ window?.makeKeyAndVisible()
|
|
|
+
|
|
|
DDLog.add(DDOSLogger.sharedInstance, with: DDLogLevel.all)
|
|
|
+
|
|
|
return true
|
|
|
}
|
|
|
+
|
|
|
}
|