import SwiftUI struct ContentView: View { @EnvironmentObject var wrapper: MonalXmppWrapper var body: some View { VStack { Image(systemName: "globe") .imageScale(.large) .foregroundStyle(.tint) Text("Hello, world!") } .padding() .onAppear { print("test") } } }