17 lines
357 B
Swift
17 lines
357 B
Swift
import SwiftUI
|
|
|
|
@main
|
|
struct AnotherIMApp: App {
|
|
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
|
|
@StateObject var wrapper = MonalXmppWrapper()
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
RootView()
|
|
.environmentObject(wrapper)
|
|
}
|
|
}
|
|
}
|
|
|
|
class AppDelegate: NSObject, UIApplicationDelegate {}
|